TextEditor: Fix typo

Change-Id: Ia49320b7dfc759b3255c83ad1b282e7b1dd648fe
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2013-09-11 23:22:21 +03:00
committed by hjk
parent 9603542c56
commit 0d745d34a9

View File

@@ -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);