From 212e39a972c71459fb8090a01dd52f7d1a8b4472 Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Mon, 8 Nov 2010 11:45:39 +0100 Subject: Snippets: Enable editor's parentheses matching. --- src/plugins/texteditor/snippets/snippeteditor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/texteditor/snippets/snippeteditor.cpp') 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() -- cgit v1.2.1