EmEditor (text editor) Forum Index Questions and Answers about Macros
About "FindInFiles" and the highlight text | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| Yutaka | Posted on: 7/9/2008 8:13 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2397 |
Re: About "FindInFiles" and the highlight text Quote:
I think the only way is to search for "on|off|yes|no|..." in the FindInFiles results.
|
| yaot | Posted on: 7/9/2008 5:42 pm |
Just popping in ![]() ![]() Joined: 6/5/2008 From: Posts: 11 |
Re: About "FindInFiles" and the highlight text Thank you very much for your apply;
I am sorry that I had not made me understood by you; I describe it again in details. I use the exgex expression "on|off|yes|no|..." (the sign "..." indicates that the alternative number may count up to 100) to call the function "FindInFiles", then when the search result displays, as you know the highlighted text may differ from each line, but how can I get the highlighted text in each line through macro. please help me, thank you very much |
| Yutaka | Posted on: 7/9/2008 11:33 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2397 |
Re: About "FindInFiles" and the highlight text Quote:
First increase "Search Colors" in the Display tab of configuration Properties to 2, and change "Search String (2)" to a different color. After you search for "on|off", in the search results, you will need to find "on" first, and then "off" next time.
|
| yaot | Posted on: 7/9/2008 3:34 am |
Just popping in ![]() ![]() Joined: 6/5/2008 From: Posts: 11 |
About "FindInFiles" and the highlight text (1) I use the regex expression "on|off" to call the function "FindInFiles" to do the search.
(2) In the result, all the lines in the document which contain the word "on" or "off" would be displayed and highlighted. This is my problem: how I can know which keyword ("on" or "off") is highlighted in each line; In other words, how I can get the highlighted text in the each line. please help me, thank you very much |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |




