* Remove the static function since it's not really needed
* Make it independent of SemanticInfo
Change-Id: I8d8ea5578f5f9364a26c543277e56bdb5b947049
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Now CppEditorWidget is much less convoluted with the local rename mode.
This class can be reused since there is no dependency on
CPPEditorWidget.
Change-Id: If513e59a03214cf9f2e3831f7e3616c001e1f036
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* Kill duplicate code
* Kill useless forwarding function
* Regroup some declarations
* Replace include by declaration
Change-Id: I54656e4e97b1fbdf7cf2f4a87d17955128f3825e
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
The icons now have consistent positions and shadows, anti
alias and a HiDPI variant.
Change-Id: I7d3a9512113788c95a132a79a58c8f559f46d00e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
If the tree view has nothing selected, the search would wrap endlessly
because the current index is invalid, but wrapping restarted at the
first toplevel index.
Change-Id: I31badb2038c8752d2c91e6fcaff69138c846383e
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
E.g. open context help, press ctrl+f to search in help, press escape
(focus moves to help viewer), press escape: find tool bar should be
hidden, instead it was moving focus to the editor.
Change-Id: Ia5d8563458582e2871afd9e3107e49e71d03b3f5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
It is a generic icon, and will for example also be used
in the Help plugin. Also make it more round and add a 2x variant
for HiDPI.
Change-Id: I2ad4fc1e2d2766042646a47483f129447c2c3c25
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
We have to check if the currentNode is actually valid.
Change-Id: I7a36758e96cbb4ae2a17755fc841ee2518a01ca2
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
It was just containing a tree view anyhow
Change-Id: Ied34e370be4dca0a113a861cafc0a8dac5689db7
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
And increase the priority for those too. Fixes the case:
a.pro
b.pri
test
c.pri
Right click on test and add new file. In that case b.pri should be the
node to which the file is added.
Task-number: QTCREATORBUG-12272
Change-Id: I54d144861bc06545db8e71ed33513a0df971dae2
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
As opt-in functionality. Only works if fetching is synchronous.
Change-Id: Ie13d722e97188663e2a1fe992ef039dbac7fe2c6
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
...by providing the necessary definitions.
Currently this does not has any effect since function-like macros are
not expanded for the semantic document. This might change, therefore we
adapt this test.
Change-Id: I7de4fdecac7b7504da7389ab216b7349ea53d7be
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This is only a small refactoring step towards a editor-free
CppEditorSupport.
Left are m_editor references that need to be addressed.
No functional change.
Change-Id: I9fc7b0abfe88f5b9a6ce3f57a5c4a922ae953ddf
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
...instead an ITextEditor.
The ITextEditor was only used to access the file path and QTextDocument
via the BaseTextEditorWidget.
Change-Id: Idef2b8162b992fe3718e16e2a046e2ff214846f2
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This fixes the regression where two Location pages were added
before.
Change-Id: Ic3241d707ad8dcf6fc3063bb4613dce49001e196
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Add method to Utils::Wizard that allows to retrieve the first page
of a given type.
Change-Id: Id92496d09bf89cee6f6e8ef584409125b218ec83
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Get rid of a couple of useless Internal:: namespace prefixes
Change-Id: I99f44082a2ba0ec39b51d3f89db6697834414a99
Reviewed-by: Orgad Shaneh <orgads@gmail.com>