forked from qt-creator/qt-creator
TextEditor: Fix typo
Change-Id: Ia49320b7dfc759b3255c83ad1b282e7b1dd648fe Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -397,7 +397,7 @@ CompletionAssistProvider *CodeAssistantPrivate::identifyActivationSequence()
|
|||||||
// In pretty much all cases the sequence will have the appropriate length. Only in the
|
// 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
|
// 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
|
// 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();
|
const int lengthDiff = length - sequence.length();
|
||||||
for (int j = 0; j < lengthDiff; ++j)
|
for (int j = 0; j < lengthDiff; ++j)
|
||||||
sequence.prepend(m_null);
|
sequence.prepend(m_null);
|
||||||
|
|||||||
Reference in New Issue
Block a user