Skip to content
Snippets Groups Projects
Commit 9c321dc7 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

More completion fixes.

parent c5148842
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ int SimpleLexer::tokenBefore(const QList<Token> &tokens, unsigned offset)
{
for (int index = tokens.size() - 1; index >= 0; --index) {
const Token &tk = tokens.at(index);
if (tk.begin() < offset)
if (tk.begin() <= offset)
return index;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment