forked from qt-creator/qt-creator
Editors: Move auto-completion code out of the editor
This is basically a continuation of the commits which refactor code out of the base text editor. For instance,36fa1de4c6and3a684586fa. Also removed the doXXXX() forwarding methods.
This commit is contained in:
@@ -41,16 +41,15 @@ public:
|
||||
AutoCompleter();
|
||||
virtual ~AutoCompleter();
|
||||
|
||||
private:
|
||||
virtual bool doContextAllowsAutoParentheses(const QTextCursor &cursor,
|
||||
const QString &textToInsert = QString()) const;
|
||||
virtual bool doContextAllowsElectricCharacters(const QTextCursor &cursor) const;
|
||||
virtual bool doIsInComment(const QTextCursor &cursor) const;
|
||||
virtual QString doInsertMatchingBrace(const QTextCursor &tc,
|
||||
virtual bool contextAllowsAutoParentheses(const QTextCursor &cursor,
|
||||
const QString &textToInsert = QString()) const;
|
||||
virtual bool contextAllowsElectricCharacters(const QTextCursor &cursor) const;
|
||||
virtual bool isInComment(const QTextCursor &cursor) const;
|
||||
virtual QString insertMatchingBrace(const QTextCursor &tc,
|
||||
const QString &text,
|
||||
QChar la,
|
||||
int *skippedChars) const;
|
||||
virtual QString doInsertParagraphSeparator(const QTextCursor &tc) const;
|
||||
virtual QString insertParagraphSeparator(const QTextCursor &tc) const;
|
||||
};
|
||||
|
||||
} // Internal
|
||||
|
||||
Reference in New Issue
Block a user