Comment from the beginning of the line

dtopenya
2013-09-12
2013-09-16
  • dtopenya

    dtopenya - 2013-09-12

    Hello everyone.
    For custom language, I have to put a comment at the beginning of the line, but when I select the menu comment line, I get a comment on one space to the left of the first character of the string, not at the beginning.

    Line: 4 tab, then code.
    Should be: #4 tab, then the code.
    Commenting work out as follows: 4 tab, #, space, then the code.

    How can I solve this problem?

     
  • Loreia2

    Loreia2 - 2013-09-12

    Hi,

    editor does not support this. You can only write your own Python script that implements this functionality. You can find more information about Python plugin here:
    http://npppythonscript.sourceforge.net/

    BR,
    Loreia

     
  • dtopenya

    dtopenya - 2013-09-16

    Thank you very much, I'll try to deal with the python.