Thorbjørn Lindeijer
01a0ec161c
Fixed unwanted wrapping of code editor tooltips
...
Turns out the <nobr> actually caused wrapping in some cases because the
tag made the QToolTip turn on its wrapping feature due to the text being
rich text. So avoid adding it to plain text tooltips unnecessarily.
Reviewed-by: hunger
Task-number: QTCREATORBUG-1169
2010-04-15 19:16:37 +02:00
Christian Kamm
915a07bdbb
CppEditor: Fix context sensitive help for namespaced libraries.
...
If the generated documentation doesn't contain the namespace name,
we failed to look up the correct help page.
Task-number: QTCREATORBUG-946
Reviewed-by: Erik Verbruggen
2010-04-06 13:32:59 +02:00
con
6bd7a5a17d
Fixes: Tooltips for hover help didn't show up anymore.
...
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
con
ab74d23848
Avoid pulling in the svg plugin.
2010-03-05 16:03:31 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
kh1
0521722bd5
Set auto save filter to false, it triggers an unnecessary db write.
2010-03-04 18:48:49 +01:00
Friedemann Kleint
f672bff338
Fix some code scanning issues.
...
foreach()-Loops.
2010-02-01 14:00:07 +01:00
Roberto Raggi
14376c3c32
Initial work on the new CPlusPlus::Snapshot.
...
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Roberto Raggi
7c7ce13ac0
Use const names.
2009-12-01 12:46:23 +01:00
Roberto Raggi
fade61a8a9
Use const literals.
2009-12-01 11:46:36 +01:00
mae
32d0bc1ff2
some tuning of the layer extra selections
...
Remove overlap. Add extra selection tooltips for the cpp hover handler.
2009-11-30 17:24:06 +01:00
Roberto Raggi
ecf40d2426
Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead.
2009-11-17 14:24:09 +01:00
Christian Kamm
3e953b0323
Check for null scope when hovering.
...
Fixes a segfault when hovering over QtCleanUpFunction in
qcoreapplication.h.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-10-26 10:35:10 +01:00
Roberto Raggi
7a2d4a7797
Fixed possible crash when building the helpId
2009-10-14 13:35:25 +02:00
Roberto Raggi
926144dcea
Prefer Classes to constructors when building the `help id'
2009-10-09 10:27:54 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Thorbjørn Lindeijer
45a15057e4
Fixed name of local variable
2009-07-22 16:10:58 +02:00
Thorbjørn Lindeijer
f65844b7a1
Attempt to resolve a help id even when showing a diagnostic error
...
Makes context sensitive help work for valid expressions that happen to
be part of a marked diagnostic error. However, for now you still can't
get documentation for expressions that don't resolve.
Also, context sensitive help now also works for includes where possible.
2009-07-22 16:08:58 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
7403fe681c
Fixed crash in the cpp hover handler
...
Didn't check whether the lookup actually returned a valid symbol before
accessing the name.
Reviewed-by: Roberto Raggi
2009-06-12 15:45:35 +02:00
Thorbjørn Lindeijer
f5e7fb9cbb
Corrected name of .config editor
2009-06-12 15:45:35 +02:00
Roberto Raggi
f17a81c9c9
Fixed helpId and tooltip for member declarations.
2009-06-11 17:03:29 +02:00
Alessandro Portale
b13e19ef61
Don't annoy Windows users with alien dir separators
2009-04-15 17:42:04 +02:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
Roberto Raggi
59624d91a1
Set the resolved symbol (it needs some cleanup).
2009-02-16 19:07:22 +01:00
Roberto Raggi
fa216de41c
Improved the C++ hover handler.
...
Done with: bjorn
2009-02-16 18:21:05 +01:00
Roberto Raggi
ba78e075da
Introduced support for forward class declarations.
2009-02-16 18:20:46 +01:00
Roberto Raggi
0b4802c682
Fixes: Possible crash in buildHelpId
2009-02-13 17:43:26 +01:00
Roberto Raggi
9a5e1918a1
Fixes: Check for 0x0 access.
2009-02-11 10:01:36 +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
Thorbjørn Lindeijer
885d908ea3
Fixed two crashes with C++ engine handling
...
These checks are necessary cause of a recent change in the C++ engine.
Reviewed-by: Roberto Raggi
2009-02-10 13:56:13 +01:00
Roberto Raggi
d01795d933
Reimplemented Type::as*Type() using virtual methods.
2009-02-09 17:49:12 +01:00
Thorbjørn Lindeijer
233502a795
Fixed tooltips for enumerators
...
The helpId was working but the tooltip text was empty.
Reviewed-by: Roberto
2009-02-06 14:43:13 +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
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
con
2e064af15d
Fixes: - Move help collection also to qtcreator subdir.
2009-01-06 18:10:33 +01:00
Roberto Raggi
e325aa38d9
Nicer implementation of CPlusPlus::Macro.
2008-12-22 13:55:42 +01:00
Roberto Raggi
3564c529d0
Clean up the C++ hover handler.
2008-12-18 10:53:56 +01:00
dt
3ba192af7e
Merge branch '0.9.1-beta'
2008-12-17 14:21:03 +01:00
Thorbjørn Lindeijer
1efe71992b
Moved the CppHoverHandler to the CppEditor plugin
...
It used to be in CppTools, but since the hover handler only makes sense
in the context of the C++ editor, this is a better place.
2008-12-16 12:27:13 +01:00