- Jun 25, 2010
-
-
Bill King authored
The second line test could be misread by both the compiler or the reader. gcc even warns about this, so add brackets just to make sure.
-
- Jun 14, 2010
-
-
Erik Verbruggen authored
Also removed TokenUnderCursor as it's functionality is in the token cache. Reviewed-by: ckamm
-
- Jun 04, 2010
-
-
Erik Verbruggen authored
This reverts commit c2393df0.
-
Erik Verbruggen authored
This should speed things up a bit, because before, the line was tokenized at least 3 times.
-
- Jun 01, 2010
-
-
Roberto Raggi authored
-
- May 25, 2010
-
-
Roberto Raggi authored
-
- May 20, 2010
-
-
mae authored
The new and cleaner foldingIndent in the block user data will make it easier to support other kinds of indentation for various other programming languages (like Python).
-
- Apr 26, 2010
-
-
Thorbjørn Lindeijer authored
-
Thorbjørn Lindeijer authored
The Parentheses, TextBlockUserData and TextEditDocumentLayout classes and their member function implementations were spread around the BaseTextEditor class. Moving them to their own file to make the code a bit better organized. Reviewed-by: mae
-
- Apr 16, 2010
-
-
Thorbjørn Lindeijer authored
-
Thorbjørn Lindeijer authored
It is not considered a token by the C++ tokenizer, and was hence considered to be trailing whitespace. Use the highightLine method to make sure that any non-whitespace characters in this "trailing whitespace" are not highlighted as such. Task-number: QTCREATORBUG-987
-
- Mar 05, 2010
-
-
hjk authored
-
- Feb 15, 2010
-
-
Erik Verbruggen authored
This reverts commit 2a59d2ae.
-
Erik Verbruggen authored
Because apparently, while designing the Objective-C language, somebody thought it was a world-class idea to allow any white-space between the '@' character and the subsequent keyword. With this fix, we now correctly parse: @ dynamic and: @ selector and: @"foo" "bar" @"mooze" (This last one is 1 single string split over multiple lines.) Wonderful, isn't it? What we (and Clang) do not support, but what GCC supports is something like: @"foo"@@ "bar" @"mooze" @@ which is equivalent to @"foobarmooze".
-
- Nov 23, 2009
-
-
Thorbjørn Lindeijer authored
When encountering a line that hasn't been highlighted yet, we need to abort the optimization for changing brace depth. Done with Roberto Raggi and mae.
-
- Nov 11, 2009
-
-
Roberto Raggi authored
-
- Oct 09, 2009
-
-
Erik Verbruggen authored
Syntax highlighting for Objective-C identifiers (super, self, nil, Nil, _cmd, SEL, IMP, BOOL, YES, NO, id).
-
- Oct 08, 2009
-
-
Roberto Raggi authored
Mark the white spaces in literals, comments and preprocessor directives with the visual space format.
-
- Oct 01, 2009
-
-
mae authored
done with Erik Verbruggen
-
- Sep 29, 2009
-
-
Roberto Raggi authored
Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments and improved CPPEditor::isInComment to handle the newly introduced tokens. As side effect,this change should fix the regression we introduced in the "automagically" quote/brace insertion.
-
- Sep 25, 2009
-
-
mae authored
We now exclude brace in ifdefed out sections when calculating, whether or not the braces match. This requires adjust the brace levels whenever sections get ifdef'd out or ifdef'd in again.
-
- Sep 16, 2009
-
-
Thorbjørn Lindeijer authored
Done with mae.
-
- Sep 09, 2009
-
-
mae authored
-
- Aug 14, 2009
-
-
hjk authored
-
- Jul 13, 2009
-
-
Roberto Raggi authored
-
- Jul 10, 2009
-
-
Roberto Raggi authored
-
- Jun 16, 2009
-
-
con authored
Reviewed-by: Trust Me Conflicts: src/libs/cplusplus/CppBindings.cpp src/libs/cplusplus/CppBindings.h src/libs/cplusplus/FastPreprocessor.cpp src/libs/cplusplus/FastPreprocessor.h src/plugins/cpptools/cppcurrentdocumentfilter.cpp src/plugins/cpptools/cppcurrentdocumentfilter.h src/plugins/cpptools/cppsemanticsearch.cpp src/plugins/cpptools/cppsemanticsearch.h src/plugins/duieditor/parser/qmljs.g src/plugins/duieditor/parser/qmljsast.cpp src/plugins/duieditor/parser/qmljsast_p.h src/plugins/duieditor/parser/qmljsastfwd_p.h src/plugins/duieditor/parser/qmljsastvisitor.cpp src/plugins/duieditor/parser/qmljsastvisitor_p.h src/plugins/duieditor/parser/qmljsengine_p.cpp src/plugins/duieditor/parser/qmljsengine_p.h src/plugins/duieditor/parser/qmljsgrammar.cpp src/plugins/duieditor/parser/qmljsgrammar_p.h src/plugins/duieditor/parser/qmljslexer.cpp src/plugins/duieditor/parser/qmljslexer_p.h src/plugins/duieditor/parser/qmljsmemorypool_p.h src/plugins/duieditor/parser/qmljsnodepool_p.h src/plugins/duieditor/parser/qmljsparser.cpp src/plugins/duieditor/parser/qmljsparser_p.h src/plugins/duieditor/parser/qmljsprettypretty.cpp src/plugins/duieditor/parser/qmljsprettypretty_p.h src/plugins/duieditor/rewriter/rewriter.cpp src/plugins/duieditor/rewriter/rewriter_p.h src/plugins/duieditor/rewriter/textwriter.cpp src/plugins/duieditor/rewriter/textwriter_p.h src/shared/cplusplus/ASTClone.cpp tests/manual/cplusplus/main.cpp
-
Jason McDonald authored
Reviewed-by: Trust Me
-
- May 06, 2009
-
-
mae authored
-
- Mar 02, 2009
-
-
Roberto Raggi authored
-
- Feb 25, 2009
- Feb 20, 2009
-
-
Roberto Raggi authored
-
Roberto Raggi authored
-
Roberto Raggi authored
-
Roberto Raggi authored
-
- Feb 05, 2009
-
-
Roberto Raggi authored
-
- Jan 13, 2009
-
-
Daniel Molkentin authored
-
Daniel Molkentin authored
-
- Dec 16, 2008
-
-
hjk authored
-