summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-06-02 14:52:14 +0200
committerhjk <qtc-committer@nokia.com>2010-06-03 13:29:17 +0200
commitf759fd6b650104a0378b76a574a8cbf22f042916 (patch)
treeaaa3172395a176cbcc5e93a836f6f451e08321b2 /src
parent36c79d44e34c0e0e7c66931f248e3e3c6da10d80 (diff)
downloadqt-creator-f759fd6b650104a0378b76a574a8cbf22f042916.tar.gz
basetexteditor: make a few functions public for use in fakevim
Diffstat (limited to 'src')
-rw-r--r--src/plugins/texteditor/basetexteditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/basetexteditor.h b/src/plugins/texteditor/basetexteditor.h
index 20a8483699..27abf6ecde 100644
--- a/src/plugins/texteditor/basetexteditor.h
+++ b/src/plugins/texteditor/basetexteditor.h
@@ -393,7 +393,6 @@ public:
void indentInsertedText(const QTextCursor &tc);
-protected:
// Returns the text to complete at the cursor position, or an empty string
virtual QString autoComplete(QTextCursor &cursor, const QString &text) const;
// Handles backspace. When returning true, backspace processing is stopped
@@ -417,6 +416,7 @@ protected:
// Returns the text that needs to be inserted
virtual QString insertParagraphSeparator(const QTextCursor &tc) const;
+protected:
static void countBracket(QChar open, QChar close, QChar c, int *errors, int *stillopen);
static void countBrackets(QTextCursor cursor, int from, int end, QChar open, QChar close,