Discussions related to Visual Prolog
User avatar
drspro2
VIP Member
Posts: 97
Joined: 28 Apr 2006 12:03

Re: Notepad++ Visual Prolog Language Support

Unread post 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 ?
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Re: Notepad++ Visual Prolog Language Support

Unread post 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".
Regards Thomas Linder Puls
PDC
Post Reply