Minor refactor
Fixed bug in #12, variable in middle of argument was not extracted to be used as completion input, instead whole argument was used. As a result, poor completion proposals were given, even if the replacement region was correct
Added test cases for Lexer. Behaviour change: before if the last line in a file was empty, it was not included; now it is. Thus we no longer need to worry that the cursor position is on a line that was not returned. The cursor might however still be beyond the last argument of a line in case of trailing whitespace (which is trimmed).
Add clarifying comments on what lexers & preparsers do
Remove dead code thanks to 5280586b4263e901234dc207a88c824264f68b85
Fix resource leak; clear "lines" field after use
Simplify logic for choosing proposals at beginning of line
Split first-argument and other-arguments processing into methods
Remove unnecessary condition that works anyway
Simplify argument prefix extracting code
Introduce optional argumentIndex to ParsedString
Use new argumentIndex to reliably determine argument index when choosing what proposals to suggest
Refactor all line numbers to start from 0
Fix test template detection not to leak to next testcase
Fix test template detection not to stop looking at empty lines
Show error message if file with Mac OS 9 line endings is opened
Split RobotContentAssistant into two layers
Split tests for RobotContentAssistant. TestRobotContentAssistant complete.
Split tests for RobotContentAssistant. TestRobotContentAssistant2 complete.
TestRCA2 refactor