Editor: cleanup special cases for snippets.

This commit is contained in:
Erik Verbruggen
2010-09-24 13:02:13 +02:00
parent 1825d14a82
commit 5ad1b35a76
5 changed files with 21 additions and 63 deletions

View File

@@ -346,7 +346,6 @@ private slots:
bool inFindScope(const QTextCursor &cursor);
bool inFindScope(int selectionStart, int selectionEnd);
void currentEditorChanged(Core::IEditor *editor);
void maybeEmitContentsChangedBecauseOfUndo();
private:
Internal::BaseTextEditorPrivate *d;
@@ -462,8 +461,6 @@ 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);