Erik Verbruggen
424b9724d6
Revert "Introduced a token cache for the C++ editor."
...
This reverts commit c2393df023 .
2010-06-04 12:37:26 +02:00
Erik Verbruggen
10ed2c536e
Fixed hidden parameters.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
c2393df023
Introduced a token cache for the C++ editor.
...
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
Roberto Raggi
678f7d3e94
Fixed `look at symbol under cursor' when symbol is a Qt method (e.g. a signal).
...
Done with: erikv
2010-03-29 15:31:42 +02:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Thorbjørn Lindeijer
d20cdc64e3
Merge remote branch 'origin/1.3'
2009-12-08 11:26:05 +01:00
Thorbjørn Lindeijer
9839dea6bc
Fixed autoindent when using tabs instead of spaces
...
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
2009-12-08 11:09:11 +01:00
Erik Verbruggen
72d4493fc2
Added scope calculation for Objective-C classes.
2009-11-11 09:21:06 +01:00
Robert Loehning
e68753b48b
Fixed index out of range.
...
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2009-11-02 19:14:40 +01:00
Roberto Raggi
42c676d19a
Added BackwardsScanner::mid(tokenIndex). Mid() returns a substring starting from the position of the given token.
2009-09-21 17:38:25 +02:00
Roberto Raggi
a49395a0ea
Made the indenter more Qt friendly. Added support for moc keywords.
2009-09-21 16:10:17 +02:00
Roberto Raggi
6c9670c3db
Use the backward scanner to indent labeled statements, ctor-initializers and access specifiers.
2009-09-21 15:14:28 +02:00
Roberto Raggi
81cac3cc49
Introduced BackwardsScanner::LA(n). LA(n) returns the n-th lookhead token.
2009-09-18 12:28:15 +02:00
Roberto Raggi
82b80b9e39
Automagically insert matching characters.
2009-09-17 17:58:00 +02:00
Roberto Raggi
dfa6be721d
Added the helper class MatchingText and use it to automagically insert text for curly braces.
2009-09-17 15:51:15 +02:00
Roberto Raggi
71c46fbc54
Added BackwardsScanner
2009-09-17 12:29:22 +02:00