TaggableLine previousLine = TaggableLineUtil.getPreviousLine(line);
helper.autocompleter.htmlAutocompleter.updateModeAnchors(line, tokens);
new ParsingTask(helper.autocompleter.localPrefixIndexStorage).onParseLine(
previousLine, line, tokens);
AutocompleteProposals proposals = helper.autocompleter.htmlAutocompleter.findAutocompletions(
helper.editor.getSelection(), CTRL_SHIFT_SPACE);
assertEquals(3, proposals.size());
assertEquals("apple", proposals.get(1).getName());
proposals = helper.autocompleter.htmlAutocompleter.findAutocompletions(
helper.editor.getSelection(), CTRL_SPACE);
assertEquals(5, proposals.size());
assertEquals("aFoo", proposals.get(1).getName());
}