forked from qt-creator/qt-creator
TextEditor: Avoid using Core::Id::uniqueIdentifier
... by using Core::Ids instead of ExtraSelectionKind enum. Change-Id: I664ff2a4a03eddd8fe1150929203a1727c12dc84 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -328,22 +328,18 @@ public:
|
||||
|
||||
void ensureCursorVisible();
|
||||
|
||||
enum ExtraSelectionKind {
|
||||
CurrentLineSelection,
|
||||
ParenthesesMatchingSelection,
|
||||
CodeWarningsSelection,
|
||||
CodeSemanticsSelection,
|
||||
UndefinedSymbolSelection,
|
||||
UnusedSymbolSelection,
|
||||
FakeVimSelection,
|
||||
OtherSelection,
|
||||
SnippetPlaceholderSelection,
|
||||
ObjCSelection,
|
||||
DebuggerExceptionSelection,
|
||||
NExtraSelectionKinds
|
||||
};
|
||||
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
|
||||
QList<QTextEdit::ExtraSelection> extraSelections(ExtraSelectionKind kind) const;
|
||||
static Core::Id FakeVimSelection;
|
||||
static Core::Id SnippetPlaceholderSelection;
|
||||
static Core::Id CurrentLineSelection;
|
||||
static Core::Id ParenthesesMatchingSelection;
|
||||
static Core::Id CodeWarningsSelection;
|
||||
static Core::Id CodeSemanticsSelection;
|
||||
static Core::Id UndefinedSymbolSelection;
|
||||
static Core::Id UnusedSymbolSelection;
|
||||
static Core::Id OtherSelection;
|
||||
static Core::Id ObjCSelection;
|
||||
static Core::Id DebuggerExceptionSelection;
|
||||
|
||||
void setExtraSelections(Core::Id kind, const QList<QTextEdit::ExtraSelection> &selections);
|
||||
QList<QTextEdit::ExtraSelection> extraSelections(Core::Id kind) const;
|
||||
QString extraSelectionTooltip(int pos) const;
|
||||
|
||||
Reference in New Issue
Block a user