Commit Graph

550 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
f36ea6785c Allow configuring the color for the hover links
Cause blue doesn't fit nicely in all color schemes.
2009-03-24 17:06:01 +01:00
Thorbjørn Lindeijer
de6166fc91 Don't try to resolve plain literals or comments
There's no place to jump to in these cases.
2009-03-24 14:54:52 +01:00
Thorbjørn Lindeijer
ed9df58ae9 Don't forget to call up to the superclass 2009-03-24 14:54:52 +01:00
Thorbjørn Lindeijer
1682a41869 Include position information in the link
Allowed customizing the link for includes and macro uses and fix it for
highlighting the name.
2009-03-24 11:24:11 +01:00
Thorbjørn Lindeijer
eebe9e2fc8 Clear link emulation when Ctrl is released 2009-03-24 11:24:11 +01:00
Thorbjørn Lindeijer
c08405fed4 Turn code into links when holding Ctrl
Allows navigating the code using the mouse when pressing Ctrl. Suggested
a few times and also seen in other IDEs.
2009-03-24 11:24:11 +01:00
con
f84c651428 Refactor navigation history again, put last edit position in history
Task:     240811
2009-03-19 16:37:05 +01:00
mae
71fe3435f2 when jumping to methods in the same file, stay in the same editor (split corner case) 2009-03-18 19:20:28 +01:00
Thorbjørn Lindeijer
70d5649428 Don't show code folding margin when it isn't supported
Introduce setCodeFoldingSupported to the BaseTextEditor, and only
enabled it for the C++ and QtScript editors. This removes the useless
margin meant for code folding markers from the plain text editor and
.pro file editor.
2009-03-17 18:25:44 +01:00
Thorbjørn Lindeijer
1f3908e0a5 Avoid adding navigation history twice
This code is already in TextEditor::BaseTextEditor::openEditorAt.
2009-03-05 17:14:37 +01:00
Thorbjørn Lindeijer
166a4086c9 --warnings
Small bugfix for column to jump to.
2009-03-05 17:14:37 +01:00
Roberto Raggi
1e7d6a01e6 ignore blocks. 2009-03-04 15:50:35 +01:00
Roberto Raggi
1389287028 Jump to the symbol's declarator. 2009-03-04 15:47:26 +01:00
Roberto Raggi
942f5a708a Ignore the symbol's column for generated symbols (at least for now). 2009-03-04 15:45:38 +01:00
Roberto Raggi
064201ff85 Mark the generated regions of text. 2009-03-04 14:36:47 +01:00
Roberto Raggi
3ae971be45 Don't look at the whole project. We're only interested in the symbols that we can resolve in the current file. 2009-03-03 17:55:12 +01:00
Roberto Raggi
3d6f7de909 Context-sensitive highlighting. 2009-03-03 13:57:08 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
8002b1a94c Customizable doxy formats. 2009-02-20 12:08:34 +01:00
Thorbjørn Lindeijer
a33ae02927 Revert now unnecessary checks for null-types
This reverts commits:

c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp

Reviewed-by: Roberto Raggi
2009-02-10 17:41:04 +01:00
Roberto Raggi
0d1624d4d1 Fixes: Possible crash when searching for the definitions of enumerators. 2009-02-09 20:38:00 +01:00
Roberto Raggi
d01795d933 Reimplemented Type::as*Type() using virtual methods. 2009-02-09 17:49:12 +01:00
Roberto Raggi
95a4645029 Fixes: Improved lookup of function definitions. 2009-01-29 09:33:58 +01:00
Thorbjørn Lindeijer
735e609e00 Removed more icore.h includes from header files 2009-01-23 13:03:36 +01:00
Thorbjørn Lindeijer
6adecf3767 Avoid going through ICore when it's not necessary
Many singletons have their own instance() method, in which case there is
no need to use ICore::instance() to get access to them.
2009-01-21 15:55:33 +01:00
hjk
40a91b315b fix access to uninitialized m_core member that should have not been
there anymore
2009-01-20 17:57:07 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
con
1e4c48a173 Fixes: - IActionContainer --> ActionContainer
Details:  - Conform to naming convention
2009-01-14 13:18:24 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
con
c9889120c3 Fixes: - Rename ActionManagerInterface --> ActionManager
Details:  - To make it conform to naming convention.
2009-01-13 15:44:25 +01:00
Roberto Raggi
e325aa38d9 Nicer implementation of CPlusPlus::Macro. 2008-12-22 13:55:42 +01:00
dt
b6711f19d2 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2008-12-17 14:21:16 +01:00
dt
3ba192af7e Merge branch '0.9.1-beta' 2008-12-17 14:21:03 +01:00
Thorbjørn Lindeijer
b11f84925a Made the file overview combo box expand
The overview combo in the toolbar above the editor traditionally liked
to be rather small. Now it will prefer to expand.
2008-12-17 11:54:47 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
Thorbjørn Lindeijer
442737d6e3 Renamed CPPHighlighter to CppHighlighter
Lowercase is the more prevalent style in this plugin and CppTools.
Unfortunately CPPEditor can't be named CppEditor cause of the CppEditor
namespace.
2008-12-16 13:19:11 +01:00
Roberto Raggi
bab60d14b3 Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
This change removes a number of wrong usages of the CppModelManager::documents()/document().
2008-12-12 10:07:58 +01:00
mae
46535482d0 Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-11 14:12:24 +01:00
mae
ddfd46b322 nicer (un)comment selection, avoid C-style selections when you can do C++ style. 2008-12-11 13:35:58 +01:00
Roberto Raggi
f1e67fa3a3 Added `editorKind' to BaseTextEditor::openEditorAt(). We need it to force the CPPEDITOR kind
when opening files from the C++ editor (e.g. when the user press F2 on #include <QMutex>).
2008-12-11 10:28:39 +01:00
Roberto Raggi
d454607264 Implemented tooltip and lookat for #include directives. 2008-12-10 17:21:28 +01:00
Roberto Raggi
187434df96 Follow macro under cursor. 2008-12-09 16:40:18 +01:00
con
be9dfc8c91 Fixes: - Show <No Symbols> or <Select Symbol> in 'empty' method combo box
Task:     - 234321
RevBy:    - Bjoern
2008-12-08 17:50:46 +01:00
con
04f79bc965 Fixes: - Show <no symbols> in method combo box if there aren't any
Task:     - 234321
RevBy:    - Thorbjørn
2008-12-05 15:39:22 +01:00
con
79f244c2ea Fixes: - Give method combo box the current item as tool tip as well 2008-12-04 17:07:27 +01:00
hjk
df7aacd637 more file cosmetics 2008-12-02 15:08:31 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00