The "Add/Remove Comment" command should use indention
Posted: 29 May 2012 23:27
Hi,
This is a minor issue. The "Add/Remove Comment" or "Block Comments" command (CTRL+') puts or removes a "comment out" character at the very beginning of the selected lines. However, many source code lines have "comment out" characters preceded by spaces. The "Add/Remove Comment" command fails in those lines. Also, when "Add/Remove Comment" adds a "comment out" character, it breaks the indention pattern. Python relies on indention, so RJ TextEd's "code folding" feature stops working in Python source files.
I think that the "Add/Remove Comment" command should put or remove the "comment out" character after the initial spaces or tabs.
Best regards
This is a minor issue. The "Add/Remove Comment" or "Block Comments" command (CTRL+') puts or removes a "comment out" character at the very beginning of the selected lines. However, many source code lines have "comment out" characters preceded by spaces. The "Add/Remove Comment" command fails in those lines. Also, when "Add/Remove Comment" adds a "comment out" character, it breaks the indention pattern. Python relies on indention, so RJ TextEd's "code folding" feature stops working in Python source files.
I think that the "Add/Remove Comment" command should put or remove the "comment out" character after the initial spaces or tabs.
Best regards