Ticket #22 (closed defect)

Opened 22 months ago

Last modified 22 months ago

Notepad++ syntax highlighter not handling all comments

Reported by: chris.heller Owned by: larry.grey
Priority: minor Component: TraceFromURL
Keywords: Cc:

Description

From a comment on  the blog post about this,

The code highlighting is neat. One scenario it does not recognize as a comment is, when the comment is like this -

/********************************************************************
Added by developer on Reading data from input file, validating the data and inserting into a component record using CI.
********************************************************************/

It gets recognized as a comment in App.Designer though!!!

Login to comment or add yourself to cc list

Change History

Changed 22 months ago by chris.heller

  • status changed from new to closed

Fix for handling multi-line PeopleCode comments in Notepad++ syntax highlighter. This removes the spaces around the "/*" and "*/" so that spaces are not required, and marks the block comments as treating keywords as symbols.

Note that this means that the slash and asterisk characters can not be listed in the operators section for the Notepad++ highlighting. Given the frequency of multi-line comments vs the amount of multiplication and division in PeopleCode this seems to be a good trade-off. It would be nice if Notepad++ allowed this though.

This closes ticket:22.

(Comment automatically added from changeset [94])

Note: See TracTickets for help on using tickets.