summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/snippets/snippeteditor.cpp
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2010-11-08 11:45:39 +0100
committerLeandro Melo <leandro.melo@nokia.com>2010-12-08 17:22:09 +0100
commit212e39a972c71459fb8090a01dd52f7d1a8b4472 (patch)
treee6bb62f94eb0f21ef4fc2db4e7a7799b86ceb984 /src/plugins/texteditor/snippets/snippeteditor.cpp
parentde527d060dcbef0ad66c98d14c621a116f1123a0 (diff)
downloadqt-creator-212e39a972c71459fb8090a01dd52f7d1a8b4472.tar.gz
Snippets: Enable editor's parentheses matching.
Diffstat (limited to 'src/plugins/texteditor/snippets/snippeteditor.cpp')
-rw-r--r--src/plugins/texteditor/snippets/snippeteditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/snippets/snippeteditor.cpp b/src/plugins/texteditor/snippets/snippeteditor.cpp
index ca59955252..714e31fb68 100644
--- a/src/plugins/texteditor/snippets/snippeteditor.cpp
+++ b/src/plugins/texteditor/snippets/snippeteditor.cpp
@@ -55,6 +55,7 @@ SnippetEditor::SnippetEditor(QWidget *parent) : BaseTextEditor(parent)
setFrameStyle(QFrame::StyledPanel | QFrame::Sunken);
setHighlightCurrentLine(false);
setLineNumbersVisible(false);
+ setParenthesesMatchingEnabled(true);
}
SnippetEditor::~SnippetEditor()