EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Comments and outline problem
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
kulibin
Posted on: 3/1/2008 5:40 pm
Just popping in
Joined: 3/1/2008
From:
Posts: 4
Re: Comments and outline problem
Quote:
uses comment strings defined in the Hightlight(2) tab of configuration properties


I know, but as I said if I choose " #" (space+#), it can't uncomment after that.

Thanks for advice about own macro and outline settings - this will help in my problem :)
Yutaka
Posted on: 3/1/2008 4:38 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2422
Re: Comments and outline problem
Quote:

kulibin wrote:
I use python script and emeditor to edit it.
If I comment something using "comment", emeditor inserts "#" at the begining of the line, and outline show unimportant branch.
I tried to change comment symbol to " #", but emeditor can't uncomment after that (and it's a bad way, because this outline branch will appear on another level).

1. Is there a way to insert a comment symbol not at the beginning of line, but before the first symbol in the line?
2. Or a way to say outline not to branch lines that starts with special symbols (but I like 1. much more).

Thanks.


The Comment command in EmEditor uses comment strings defined in the Hightlight(2) tab of configuration properties. You may customize those properties if you want to use different strings for comments. If you want to insert comments at different places, you might want to write a macro for your specific purpose. The Outline plug-in might need customization. You can change how Outline plug-in interprets nodes and branches from the Outline properties.


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

kulibin
Posted on: 3/1/2008 5:48 am
Just popping in
Joined: 3/1/2008
From:
Posts: 4
Comments and outline problem
I use python script and emeditor to edit it.
If I comment something using "comment", emeditor inserts "#" at the begining of the line, and outline show unimportant branch.
I tried to change comment symbol to " #", but emeditor can't uncomment after that (and it's a bad way, because this outline branch will appear on another level).

1. Is there a way to insert a comment symbol not at the beginning of line, but before the first symbol in the line?
2. Or a way to say outline not to branch lines that starts with special symbols (but I like 1. much more).

Thanks.
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文