summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/MatchingText.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable gcc warning about always-true Q_ASSERT checkKai Koehne2011-08-171-0/+9
| | | | | | | | | gcc 4.5.1 warned about the Q_ASSERT in QStringRef::at() being always false for isCompleteStringLiteral, isCompleteCharLiteral. Change-Id: Idb20f81f92876eff685166c8deeebd6e151303b1 Reviewed-on: http://codereview.qt.nokia.com/3070 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Update license.hjk2011-04-131-14/+13
|
* Exported header cleanup.Friedemann Kleint2011-01-201-0/+3
|
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* License headers.con2010-12-171-7/+11
|
* Removing SimpleTokenErik Verbruggen2010-07-021-4/+4
|
* Removed the TokenCache.Erik Verbruggen2010-07-021-7/+2
|
* Merge branch '2.0'Thorbjørn Lindeijer2010-06-151-2/+2
|\ | | | | | | | | | | | | Conflicts: src/plugins/cppeditor/cppquickfix.cpp src/plugins/mercurial/mercurialjobrunner.cpp src/plugins/subversion/subversionplugin.cpp
| * Fixed handling of text wrapping and a text layout corner caseThorbjørn Lindeijer2010-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | Due to using QTextCursor::columnNumber() instead of QTextCursor::positionInBlock(), a lot of code would not work correctly when used with wrapped lines. In addition, there was an issue with columnNumber() returning 0 right after inserting a character before the last character of a line. Reviewed-by: mae
* | Merge branch 'origin/2.0' (early part)Erik Verbruggen2010-06-151-3/+3
|\ \ | |/
| * Don't pass QChar as const & since it's just a unsigned shortThorbjørn Lindeijer2010-06-141-3/+3
| | | | | | | | Reviewed-by: ogoffart
* | Introduced token caching to prevent repetetive tokenizing.Erik Verbruggen2010-06-141-3/+5
| | | | | | | | | | | | 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-5/+3
| | | | | | | | This reverts commit c2393df02332618c8cf6159d9d6f6a40041ced89.
* | Introduced a token cache for the C++ editor.Erik Verbruggen2010-06-041-3/+5
|/ | | | | This should speed things up a bit, because before, the line was tokenized at least 3 times.
* Long live the king!hjk2010-03-051-1/+1
|
* Added semicolon after } when creating unnamed enumerationRoquette2010-02-011-1/+1
| | | | | | Task-number: QTCREATORBUG-643 Merge-request: 109 Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* Insert semicolon when matching enum declarations.Roberto Raggi2009-11-161-1/+1
| | | | Task-number: QTCREATORBUG-282
* Remove debuggign outputdt2009-10-061-2/+0
|
* Don't override escaped quotes.Roberto Raggi2009-10-051-8/+32
|
* Remove all the synthesized characters when matching curly bracesRoberto Raggi2009-09-211-4/+10
|
* Made the indenter more Qt friendly. Added support for moc keywords.Roberto Raggi2009-09-211-6/+6
|
* Renamed maybeOverrideCharacter()Roberto Raggi2009-09-181-2/+2
|
* CleanupRoberto Raggi2009-09-181-20/+17
|
* Introduced MatchingText::shouldInsertNewline() and use it to insert lines ↵Roberto Raggi2009-09-181-5/+41
| | | | after a class definition.
* Re-enable check for automatically inserted block end.Roberto Raggi2009-09-171-2/+1
|
* Pass the lookahead character to matching text.Roberto Raggi2009-09-171-2/+23
|
* Automagically insert matching characters.Roberto Raggi2009-09-171-1/+108
|
* Added the helper class MatchingText and use it to automagically insert text ↵Roberto Raggi2009-09-171-0/+131
for curly braces.