Community
Participate
Working Groups
Orion I20120122-2230 The orion.edit.validator service [1] expects problem locations to be given as a line number plus 'start' and 'end' offsets into the line. This is rather inconvenient because it forces validators to track line numbers, which sometimes requires an extra step if you're getting output from a tool that ignores line breaks. We should allow the 'line' parameter to be omitted, which should cause 'start', 'end' to be interpreted as document offsets. [1] http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.validator
This is now supported: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=6c48a71 Updated the docs: http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.validator Also notable is that using document relative offsets allows you to generate a problem that spans several lines.