Menu

Language Def for TCL has incorrect comment

2007-06-01
2012-11-13
  • Nobody/Anonymous

    Hi,
    When displaying .tcl files, there seems to be problems with comments.
    The .tcl commment charachter is "#".
    When you open a .tcl file it seems to think /* is a start comment.
    Furthermore it sees the # as the PreProcessor comment. (its coloured brown)

    In the lang.xml file the following is defined
          <Language name="tcl" ext="tcl" commentLine="//" commentStart="/*" commentEnd="*/">

    I tried changing this to
          <Language name="tcl" ext="tcl" commentLine="#">

    But it made no effect.

    Anyone have any suggestions?

    Thanks
    Del

     
    • Nobody/Anonymous

      Hi, I use to have a same problem.
      I have changed:
      <Language name="tcl" ext="tcl" commentLine="#">
      and restarted notepad++ and it's working well.
      At language perl the commentLine is also "#". Try it.
      enel

       
    • MJG

      MJG - 2007-06-18

      You may have to make lang.xml changes outside of Notepad++.  Some configuration files are overwritten by Notepad++ when it is closed.

      Also, there are two possible places for the configuration files, now.  One is in the Notepad++ installation directory.  The other is in the %APPDATA%\Notepad++ directory.  It might be using the one you didn't change.  --Joel

       
    • Nobody/Anonymous

      Did you restart Notepad++ and then check it out? Or did you make the change and didn't restart?

      -Notepad++ fan and user

       
    • Nobody/Anonymous

      Yes restarted Notepad++ and made no difference.

       
MongoDB Logo MongoDB