summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/codeassist
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-09-11 23:22:21 +0300
committerhjk <hjk121@nokiamail.com>2013-09-12 10:14:32 +0200
commit0d745d34a93437491100bfa66f9bbba7cd3c5ad6 (patch)
tree86ba609a24f1d209465d03ef9ac9d8cf6b102ea0 /src/plugins/texteditor/codeassist
parent9603542c562a21c97da5fe8014bfad52a121b550 (diff)
downloadqt-creator-0d745d34a93437491100bfa66f9bbba7cd3c5ad6.tar.gz
TextEditor: Fix typo
Change-Id: Ia49320b7dfc759b3255c83ad1b282e7b1dd648fe Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/texteditor/codeassist')
-rw-r--r--src/plugins/texteditor/codeassist/codeassistant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/codeassist/codeassistant.cpp b/src/plugins/texteditor/codeassist/codeassistant.cpp
index be6454eff0..30597a37fe 100644
--- a/src/plugins/texteditor/codeassist/codeassistant.cpp
+++ b/src/plugins/texteditor/codeassist/codeassistant.cpp
@@ -397,7 +397,7 @@ CompletionAssistProvider *CodeAssistantPrivate::identifyActivationSequence()
// In pretty much all cases the sequence will have the appropriate length. Only in the
// case of typing the very first characters in the document for providers that request a
// length greater than 1 (currently only C++, which specifies 3), the sequence needs to
- // be preprended so it has the expected length.
+ // be prepended so it has the expected length.
const int lengthDiff = length - sequence.length();
for (int j = 0; j < lengthDiff; ++j)
sequence.prepend(m_null);