con
e1b74a647e
Cut off the forward navigation history to avoid messing it up.
...
There are cases like when editing, or when jumping to a line, where we
shouldn't cut it though (so we don't).
Task-number: QTCREATORBUG-1535
2010-07-06 12:21:24 +02:00
Roberto Raggi
6d8ecb762f
Moved the semantic highlighter in a QFuture.
2010-07-06 10:53:34 +02:00
Roberto Raggi
2ee75bac8c
Get rid of CheckUndefinedSymbol::Use.
2010-07-05 17:43:13 +02:00
Roberto Raggi
84ebb1048d
Moved CheckUndefinedSymbols to the cpptools plug-in.
2010-07-05 17:35:54 +02:00
Christian Kamm
27578a6c2c
C++: Use the new indenter.
...
Reviewed-by: Roberto Raggi
2010-07-05 13:49:12 +02:00
Roberto Raggi
76ebb46479
Fixed: "Follow symbol" on constructor or destructor always jumps to class definition
...
Task-number: QTCREATORBUG-1776
2010-07-05 13:38:53 +02:00
Erik Verbruggen
afdc4f6e3e
Removed FindScope in favour of the Document::scopeAt method.
2010-07-02 11:18:52 +02:00
Erik Verbruggen
8e4fb678fd
Removing SimpleToken
2010-07-02 11:18:51 +02:00
Erik Verbruggen
e3e8b1a5c0
Removed the TokenCache.
2010-07-02 11:18:51 +02:00
hjk
2f5f358ff4
Core::Context: compile hot fix for Windows.
2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37
core: use a class derived from QList<int> instead of a QList<int> for Core::Context
...
A mostly mechanical change.
Reviewed-By: con
2010-06-25 12:58:07 +02:00
Roberto Raggi
da817310c2
Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes.
2010-06-23 14:39:14 +02:00
Erik Verbruggen
890e7ea988
Created methods for semantic selection creation.
2010-06-23 10:44:03 +02:00
Erik Verbruggen
fd00ec23ec
Added ObjC keyword highlighting in the semantic pass.
2010-06-18 12:34:09 +02:00
Christian Kamm
e1a0f5abef
C++: Make 'follow symbol' work with forward declared classes.
...
If it encounters a forward declaration, it tries to find the class
declaration globally now.
Task-number: QTCREATORBUG-20
2010-06-16 15:37:39 +02:00
Thorbjørn Lindeijer
173cdff56c
Merge branch '2.0'
...
Conflicts:
src/plugins/cppeditor/cppquickfix.cpp
src/plugins/mercurial/mercurialjobrunner.cpp
src/plugins/subversion/subversionplugin.cpp
2010-06-15 13:22:33 +02:00
Thorbjørn Lindeijer
83dba068ce
Avoid triggering indent for electric characters in comments and strings
...
In comments and strings, electric characters have no syntactical
significance and the unnecessary automatic reindent can be annoying.
Reviewed-by: Erik Verbruggen
2010-06-15 12:25:01 +02:00
Erik Verbruggen
05639e4688
Merge branch 'origin/2.0' (early part)
2010-06-15 11:30:51 +02:00
Thorbjørn Lindeijer
6875a50d27
Don't pass QChar as const & since it's just a unsigned short
...
Reviewed-by: ogoffart
2010-06-14 16:10:35 +02:00
Erik Verbruggen
297b281ced
Added infrastructure to change multiple files at once.
2010-06-14 15:03:10 +02:00
Erik Verbruggen
e42ca194c5
Introduced token caching to prevent repetetive tokenizing.
...
Also removed TokenUnderCursor as it's functionality is in the token cache.
Reviewed-by: ckamm
2010-06-14 10:10:05 +02:00
con
b0040dc858
Merge remote branch 'origin/2.0'
...
Conflicts:
src/plugins/projectexplorer/taskwindow.cpp
src/shared/proparser/profileevaluator.cpp
2010-06-10 15:00:16 +02:00
Thorbjørn Lindeijer
716b3008ee
Removed no longer used code
...
Reviewed-by: mae
2010-06-08 12:53:53 +02:00
hjk
e5afb64f49
Un-template-ize SharedTools::Indenter which was only used once.
...
Reviewed-by: Roberto Raggi
2010-06-04 13:31:00 +02:00
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
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
3d81ae8574
Reduced the usage of CppQuickFixOperation.
2010-06-03 14:45:55 +02:00
Roberto Raggi
a40349c09b
Reimplemented the C++ quick fix operations using TextEditor::QuickFixOperation.
2010-06-03 14:24:12 +02:00
Roberto Raggi
44115f48de
Removed obsolete code.
2010-06-01 14:04:46 +02:00
Roberto Raggi
ef83369006
Check the current under cursor before searching for the enclosing expression.
2010-06-01 12:16:38 +02:00
Roberto Raggi
e9c43b3ec6
Cache the LookupContext.
2010-05-31 12:37:16 +02:00
Roberto Raggi
1c078ec2a3
Ensure we keep the context around for as long as it is needed.
2010-05-31 12:37:15 +02:00
Roberto Raggi
6578099982
Speedup the creation of the extra selections.
2010-05-26 12:35:40 +02:00
Roberto Raggi
405353ab23
Removed the CppBindings.
2010-05-25 17:15:23 +02:00
Roberto Raggi
b68a16f1b5
Highlight user defined types.
2010-05-25 17:15:22 +02:00
Roberto Raggi
2a0f901e16
Use the document in the snapshot when available.
2010-05-25 17:15:22 +02:00
Roberto Raggi
3141edd2ab
Check for undefined symbols.
2010-05-25 17:15:22 +02:00
Roberto Raggi
18490596f9
Renamed Document::findSymbolAt().
2010-05-17 13:01:56 +02:00
Roberto Raggi
3decf8ccc0
Jump to the declaration if the last visible symbol is the current function definition.
2010-05-14 15:33:01 +02:00
Roberto Raggi
a2128885de
Get rid of some obsoleted code.
2010-05-14 13:58:06 +02:00
Roberto Raggi
1302de086a
Jump at the function's definition.
2010-05-14 13:55:23 +02:00
Roberto Raggi
5d13a206e2
Reimplemented switch declaration/definition.
2010-05-14 13:55:23 +02:00
Roberto Raggi
60f76c96e8
Improved LookupItem and get rid of some deprecated code.
2010-05-14 13:55:21 +02:00
Roberto Raggi
c282da7d1e
Introduced Snapshot::findMatchingDefinition().
2010-05-11 14:15:07 +02:00
Roberto Raggi
d9527680a9
Try to use the new LookupContext.
2010-05-05 16:36:46 +02:00
Roberto Raggi
32a84df5c0
Deprecated the current LookupContext.
2010-05-05 16:36:44 +02:00
Alexey Semenko
538921e8dc
Add "indent blocks twice" option for GNU indenting
...
Reviewed-by: mae
Merge-request: 133
2010-04-08 17:06:23 +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
Thorbjørn Lindeijer
aa5899ad40
Fixed Delete and Backspace in specific cases when renaming in-place
...
The Delete and Backspace keys are blocked when the cursor is
respectively at the end or beginning of a word that is being renamed
in-place. However, when there is a selection, the removal of this
selection is still supposed to be allowed.
Reviewed-by: Robert Loehning
2010-03-25 19:32:44 +01:00
Friedemann Kleint
bbcacaf59f
Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.
2010-03-18 10:59:06 +01:00