summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basetexteditor_p.h
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2010-11-02 15:35:42 +0100
committerLeandro Melo <leandro.melo@nokia.com>2010-12-08 17:22:08 +0100
commit7eecf3940cc8d01e81db88454f86adbe88a12028 (patch)
tree1cb886af0ce5dd46287fb74acdadfc0db861d593 /src/plugins/texteditor/basetexteditor_p.h
parent7528c6d617c60acfdc2d82e2a7f8d1ec2de87a02 (diff)
downloadqt-creator-7eecf3940cc8d01e81db88454f86adbe88a12028.tar.gz
Snippets: Synchronize editing of equivalent variables inside snippets.
When editing one variable from a code snippet, all other variables with the same name are updated accordingly.
Diffstat (limited to 'src/plugins/texteditor/basetexteditor_p.h')
-rw-r--r--src/plugins/texteditor/basetexteditor_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/basetexteditor_p.h b/src/plugins/texteditor/basetexteditor_p.h
index d658899cd1..f4d688c04f 100644
--- a/src/plugins/texteditor/basetexteditor_p.h
+++ b/src/plugins/texteditor/basetexteditor_p.h
@@ -215,7 +215,7 @@ public:
TextEditorOverlay *m_overlay;
TextEditorOverlay *m_snippetOverlay;
TextEditorOverlay *m_searchResultOverlay;
- void snippetCheckCursor(const QTextCursor &cursor);
+ bool snippetCheckCursor(const QTextCursor &cursor);
void snippetTabOrBacktab(bool forward);
QTextCharFormat m_occurrencesFormat;
QTextCharFormat m_occurrenceRenameFormat;