version 8021
It seems that rendering in another thread affects result of #checkSyntax
I had this piece of code return 3 different values: 2, 7, 10
SyntaxResult syntaxResult = SyntaxChecker.checkSyntax("@startuml\n" +
"\n" +
"!include ss.puml \n" +
"\n" +
"j\n" +
"List <|.. Argfjhfgjf\n" +
"\n" +
"@enduml");
System.err.println(syntaxResult.getErrorLinePosition());
http://i.imgur.com/vR1RJxT.png
Perhaps it has something to do with the loading of the file.