on-internet
← Community

Notepad++ syntax highlighting : conflict in rules

Stack Overflow ·

I have customized a new language in Notepad++. My problem is that I have two keywords: LAYER and LAYER_ENCODING. In the menu Languages > Define Your language > Select your defined language, LAYER is mentioned in the first tab Syntax folding whereas LAYER_ENCODING is mentioned in the second tab Keywords lists. Here is the syntax coloration I get for LAYER_ENCODING: I seems that LAYER_ENCODING keyword is not recognized because LAYER already exists. Any idea on how I could solve this problem? EDIT: Here are my custom rules: <NotepadPlus> <UserLang name="Mapfile" ext="map" udlVersion="2.1"> <Setti

Comments

Sign in or sign up to comment and upvote.

No comments yet.