diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2010-11-08 11:45:39 +0100 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2010-12-08 17:22:09 +0100 |
commit | 212e39a972c71459fb8090a01dd52f7d1a8b4472 (patch) | |
tree | e6bb62f94eb0f21ef4fc2db4e7a7799b86ceb984 /src/plugins/texteditor/snippets/snippeteditor.cpp | |
parent | de527d060dcbef0ad66c98d14c621a116f1123a0 (diff) | |
download | qt-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.cpp | 1 |
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() |