support different selection kinds in basetexteditor.
enum ExtraSelectionKind { CurrentLineSelection, ParenthesesMatchingSelection, CodeWarningsSelection, CodeSemanticsSelection, OtherSelection, NExtraSelectionKinds }; void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections); QList<QTextEdit::ExtraSelection> extraSelections(ExtraSelectionKind kind) const; This is mainly for the benefit of the cppmodelmanager.
Please register or sign in to comment