forked from qt-creator/qt-creator
QmlJS: Fix completion context when cursor is to the right of inserted ;
Done-with: Erik Verbruggen
This commit is contained in:
@@ -31,6 +31,9 @@ CompletionContextFinder::CompletionContextFinder(const QTextCursor &cursor)
|
||||
break;
|
||||
}
|
||||
|
||||
if (m_startTokenIndex == yyLinizerState.tokens.size() - 1 && yyLinizerState.insertedSemicolon)
|
||||
--m_startTokenIndex;
|
||||
|
||||
getQmlObjectTypeName(m_startTokenIndex);
|
||||
checkBinding();
|
||||
}
|
||||
|
Reference in New Issue
Block a user