Author Topic: Beta 6: Java properties file comment not highlighted properly  (Read 1382 times)

jkwuc89

  • Senior Community Member
  • Posts: 199
  • Hero Points: 6
Beta 6: Java properties file comment not highlighted properly
« 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

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Beta 6: Java properties file comment not highlighted properly
« Reply #1 on: October 01, 2014, 12:35:07 pm »
Thanks for the report.  I will make sure that gets included by default for next drop.