Fix this first It looks like there's one more leading space and one more trailing space added by default, probably the result of the formatting rules for hidden regions being absent so set those as no space by default.
Because the xtext file defines Line as not having whitespace, it's not included in the getter.
Try including the whitespace in the definition
If that fails, then access the hidden regions when parsing the file.
Fix this first It looks like there's one more leading space and one more trailing space added by default, probably the result of the formatting rules for hidden regions being absent so set those as no space by default.
Because the xtext file defines Line as not having whitespace, it's not included in the getter. Try including the whitespace in the definition If that fails, then access the hidden regions when parsing the file.