summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/BackwardsScanner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CPlusPlus: Make (sub-)languague selection more generichjk2013-10-151-2/+7
| | | | | Change-Id: I4e2df6992b446adec662ab07671acd41715e41fd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* fix include style relating to cplusplus librariesOswald Buddenhagen2013-04-031-1/+4
| | | | | | | | | | | ... and adjust INCLUDEPATH accordingly. while i'm at messing with include statements, also re-order the include blocks according to policy and sort them within bigger blocks. Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-1/+1
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* CppTools: Added skipComments flag.Erik Verbruggen2010-09-091-2/+5
|
* Removing SimpleTokenErik Verbruggen2010-07-021-16/+17
|
* Removed the TokenCache.Erik Verbruggen2010-07-021-33/+26
|
* Introduced token caching to prevent repetetive tokenizing.Erik Verbruggen2010-06-141-29/+34
| | | | | | Also removed TokenUnderCursor as it's functionality is in the token cache. Reviewed-by: ckamm
* Revert "Introduced a token cache for the C++ editor."Erik Verbruggen2010-06-041-27/+26
| | | | This reverts commit c2393df02332618c8cf6159d9d6f6a40041ced89.
* Fixed hidden parameters.Erik Verbruggen2010-06-041-3/+3
|
* Introduced a token cache for the C++ editor.Erik Verbruggen2010-06-041-26/+27
| | | | | This should speed things up a bit, because before, the line was tokenized at least 3 times.
* Fixed `look at symbol under cursor' when symbol is a Qt method (e.g. a signal).Roberto Raggi2010-03-291-1/+1
| | | | Done with: erikv
* Long live the king!hjk2010-03-051-1/+1
|
* Merge remote branch 'origin/1.3'Thorbjørn Lindeijer2009-12-081-5/+7
|\
| * Fixed autoindent when using tabs instead of spacesThorbjørn Lindeijer2009-12-081-5/+7
| | | | | | | | | | | | | | | | Several special cases that are handled by the CPPEditor did not take into account code that was using tab characters. Task-number: QTCREATORBUG-292 Reviewed-by: Roberto Raggi
* | Added scope calculation for Objective-C classes.Erik Verbruggen2009-11-111-0/+1
|/
* Fixed index out of range.Robert Loehning2009-11-021-0/+5
| | | | Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* Added BackwardsScanner::mid(tokenIndex). Mid() returns a substring starting ↵Roberto Raggi2009-09-211-0/+6
| | | | from the position of the given token.
* Made the indenter more Qt friendly. Added support for moc keywords.Roberto Raggi2009-09-211-20/+6
|
* Use the backward scanner to indent labeled statements, ctor-initializers and ↵Roberto Raggi2009-09-211-12/+96
| | | | access specifiers.
* Introduced BackwardsScanner::LA(n). LA(n) returns the n-th lookhead token.Roberto Raggi2009-09-181-3/+8
|
* Automagically insert matching characters.Roberto Raggi2009-09-171-1/+5
|
* Added the helper class MatchingText and use it to automagically insert text ↵Roberto Raggi2009-09-171-4/+63
| | | | for curly braces.
* Added BackwardsScannerRoberto Raggi2009-09-171-0/+105