SlickEdit Community

Archived Read Only Forums => SlickEdit 2014 v19 beta => Topic started by: jkwuc89 on October 01, 2014, 11:36:42 am

Title: Beta 6: Java properties file comment not highlighted properly
Post by: jkwuc89 on October 01, 2014, 11:36:42 am
Inside beta 6, I opened a Java properties file with the following properties:

propWithExclamationPoint=Exclamation Point #Text following pound sign
propWithPoundSign=Pound Sign !Text following exclamation point

I believe beta 6 is incorrectly syntax coloring the # and the ! and everything after each of these characters as a comment.

According to http://docs.oracle.com/cd/E23095_01/Platform.93/ATGProgGuide/html/s0204propertiesfileformat01.html, comment lines in a Java properties file must start with # and !. If a line does not, then # and ! are part of the property value.

I was able to easily correct this by turning on the "Only if first non-blank character in line" setting on the Comments tab under Java Properties > Color Coding
Title: Re: Beta 6: Java properties file comment not highlighted properly
Post by: Lee on October 01, 2014, 12:35:07 pm
Thanks for the report.  I will make sure that gets included by default for next drop.