Page 2 of 2

Re: Notepad++ Visual Prolog Language Support

Posted: 16 Oct 2018 9:23
by drspro2
Indeed the visual-prolog syntax config existed in a separate file, I was allowed to copy the xml VP part of that file in the Theme.xml file, then it took over its syntax colors in the new Theme, ofcourse the colors had to be changed because they appeared the same as where they were in the default white background settings.

The colors look nice and it makes editting an easier job, I tried to find a separate color for the class identifier, for example as in : Newstr = string::concat("aa","bb"), it seems impossible to give this identifier a separate color, is this possible by means of keywords settings who are configurable ?

Re: Notepad++ Visual Prolog Language Support

Posted: 16 Oct 2018 10:27
by Thomas Linder Puls
The lexer does not have a style for class identifiers.

The keywords lists defines words that becomes "yellow" and "blue" (in the original styles). If you list all class names in one of these then classes will become "yellow" or "blue".