diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2016-02-05 15:16:02 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2016-02-16 18:12:12 +0000 |
commit | 89199b519b60193f13adabae607b4e2c066a6d8a (patch) | |
tree | dd8576b474151d73c9c10834d35e83476248e263 /src/plugins/cpptools/baseeditordocumentprocessor.h | |
parent | cd94f66af026d637b38c74592d07110e73550f81 (diff) |
Clang: Indicate available "fix its" with a light bulb
...at the end of the line, just like for the "Apply Function Signature
Changes" refactor action.
* Hovering the light bulb shows the tooltip "Inspect available fixits".
* Clicking the light bulb leads to the refactoring menu, as if the user
hit Alt+Return.
Change-Id: Iaf7b3734c43e21fc28e6b0658f517d98858c0e0c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/baseeditordocumentprocessor.h')
-rw-r--r-- | src/plugins/cpptools/baseeditordocumentprocessor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cpptools/baseeditordocumentprocessor.h b/src/plugins/cpptools/baseeditordocumentprocessor.h index 886e6bc98c..5f8e9a7353 100644 --- a/src/plugins/cpptools/baseeditordocumentprocessor.h +++ b/src/plugins/cpptools/baseeditordocumentprocessor.h @@ -74,7 +74,8 @@ public: signals: // Signal interface to implement void codeWarningsUpdated(unsigned revision, - const QList<QTextEdit::ExtraSelection> selections); + const QList<QTextEdit::ExtraSelection> selections, + const TextEditor::RefactorMarkers &refactorMarkers); void ifdefedOutBlocksUpdated(unsigned revision, const QList<TextEditor::BlockRange> ifdefedOutBlocks); |