Editor: don't leave snippet mode when user pasts/completes.

This commit is contained in:
Erik Verbruggen
2010-09-24 11:34:10 +02:00
parent cb7e924896
commit f6a99f6163
5 changed files with 20 additions and 3 deletions

View File

@@ -462,6 +462,8 @@ public:
// Returns the text that needs to be inserted
virtual QString insertParagraphSeparator(const QTextCursor &tc) const;
virtual void setNextChangeIsSnippetSafe();
protected:
static void countBracket(QChar open, QChar close, QChar c, int *errors, int *stillopen);