• mae's avatar
    support different selection kinds in basetexteditor. · 6d37029b
    mae authored
        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.
    6d37029b
cppmodelmanager.cpp 25.1 KB