forked from qt-creator/qt-creator
LanguageClient: add support for proposed semantic highlight
implements the current proposal for the semantic highlighting via the language server protocol. https://github.com/microsoft/vscode-languageserver-node/pull/367 Change-Id: I857d606fcf5c782e0ea8e18e5d098edd26286aed Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "texteditor_global.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace TextEditor {
|
||||
@@ -204,7 +206,7 @@ const char JUMP_TO_FILE_UNDER_CURSOR_IN_NEXT_SPLIT[] = "TextEditor.JumpToFileUnd
|
||||
const char SCROLL_BAR_SEARCH_RESULT[] = "TextEditor.ScrollBarSearchResult";
|
||||
const char SCROLL_BAR_CURRENT_LINE[] = "TextEditor.ScrollBarCurrentLine";
|
||||
|
||||
const char *nameForStyle(TextStyle style);
|
||||
const TEXTEDITOR_EXPORT char *nameForStyle(TextStyle style);
|
||||
TextStyle styleFromName(const char *name);
|
||||
|
||||
const char TEXT_EDITOR_SETTINGS_CATEGORY[] = "C.TextEditor";
|
||||
|
||||
Reference in New Issue
Block a user