If the last line of a property file is a key=value but missing a newline on the end, does that make the whole file invalid? Because property parser fails to show me anything in the tree when such files are parsed in sidekick.
Also, if you parse the HelpServer.props file from HelpServer plugin, you get a weird error message in the ErrorList:
/home/ezust/workspace/jedit/plugins/HelpServer/HelpServer.props
3:Array index out of range: 33
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ticket moved from /p/jedit/bugs/3894/
Fixed in revision 23735.
now it parses, but the last line does not show up in the sidekick tree.
Also, if you parse the HelpServer.props file from HelpServer plugin, you get a weird error message in the ErrorList:
/home/ezust/workspace/jedit/plugins/HelpServer/HelpServer.props
3:Array index out of range: 33
There was an off-by-one error in the line end column calculation that should be fixed in revision 23737. Please give it a try and let me know.
Looks good to me now.
A better fix is in revision 23738 -- I'd forgotten to apply the same fix to multi-line properties so folding was off a line.