1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

User defined language file for Notepad++ ?

Discussion in 'Support' started by mdrmdr, Sep 5, 2014.

  1. mdrmdr

    Joined:
    Sep 5, 2014
    Messages:
    3
    Likes Received:
    0
    Anybody got a user defined language file for Notepad++ to allow correct and complete syntax color highlighting for btm files?
     
  2. Joris

    Joined:
    Oct 6, 2014
    Messages:
    1
    Likes Received:
    0
    I was looking for the same thing today, and Rod Jamieson was kind enough to send me a UDL file which he created many years ago. I've attached it here, although with some minor modifications. One is that I am used to starting comments with '::' (without the quotes), which is quicker to write than REM and is also less messy in the layout. Therefore I added this token to the comment section. Anyway, hope this works for you too.
     

    Attached Files:

  3. mdrmdr

    Joined:
    Sep 5, 2014
    Messages:
    3
    Likes Received:
    0
    Great! Thanks! I'll give it a try right tonight :-)
     
  4. mdrmdr

    Joined:
    Sep 5, 2014
    Messages:
    3
    Likes Received:
    0
    Most of the syntax coloring work now correct. I just added a "%" (in prefix mode) to keyword group 5, to allow to colorize variables. One thing on the other hand is not working. If a internal function or a variable is prefixed by a character or number, it is not recognised as a function or variable any more. See attached example. I also attached my current definitions file (as .txt; .xml is not allowed).

    Thanks for any help!
     

    Attached Files:

Share This Page