forked from qt-creator/qt-creator
		
	Clang: use HighlightingMarks for hover with Ctrl highlighting
Make this highlighting work without builtin code model but based on the HighlightingMarks that we already have from ClangCodeModel. Redundant parameters are removed by this change. Change-Id: I73b5dab46ba59d2f813236831818f0a9bc94c5bc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
		| @@ -76,7 +76,7 @@ public: | ||||
|     virtual void setParserConfig(const BaseEditorDocumentParser::Configuration config); | ||||
|  | ||||
|     virtual QFuture<CursorInfo> cursorInfo(const CursorInfoParams ¶ms) = 0; | ||||
|     virtual QFuture<SymbolInfo> requestFollowSymbol(int line, int column, bool resolveTarget) = 0; | ||||
|     virtual QFuture<SymbolInfo> requestFollowSymbol(int line, int column) = 0; | ||||
|  | ||||
| public: | ||||
|     using HeaderErrorDiagnosticWidgetCreator = std::function<QWidget*()>; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ public: | ||||
|     bool isParserRunning() const override; | ||||
|  | ||||
|     QFuture<CursorInfo> cursorInfo(const CursorInfoParams ¶ms) override; | ||||
|     QFuture<SymbolInfo> requestFollowSymbol(int, int, bool) override | ||||
|     QFuture<SymbolInfo> requestFollowSymbol(int, int) override | ||||
|     { return QFuture<SymbolInfo>(); } | ||||
|  | ||||
| private: | ||||
|   | ||||
| @@ -39,7 +39,6 @@ public: | ||||
|     int endLine = 0; | ||||
|     int endColumn = 0; | ||||
|     QString fileName; | ||||
|     bool failedToFollow = false; | ||||
| }; | ||||
|  | ||||
| } // namespace CppTools | ||||
|   | ||||
		Reference in New Issue
	
	Block a user