EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     About the range of the find function
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
Yutaka
Posted on: 7/26/2008 8:10 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2400
Re: About the range of the find function
Quote:

yaot wrote:
(1) I select the second and the third two paragraphs of my document
(2) Then I call the function
document.selection.Find( "aaa", eeFindReplaceCase|eeFindReplaceQuiet|eeFindReplaceRegExp)
to search for the word "aaa" in these two paragraphs;

After execute the macro, the "aaa" in the fourth paragraph or the fifth paragraph would be found out also;

How can I avoid it.
Thank you very much!


You cannot avoid this at current version. I will think about this in future versions. Thanks!


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

yaot
Posted on: 7/24/2008 11:01 pm
Just popping in
Joined: 6/5/2008
From:
Posts: 11
About the range of the find function
(1) I select the second and the third two paragraphs of my document
(2) Then I call the function
document.selection.Find( "aaa", eeFindReplaceCase|eeFindReplaceQuiet|eeFindReplaceRegExp)
to search for the word "aaa" in these two paragraphs;

After execute the macro, the "aaa" in the fourth paragraph or the fifth paragraph would be found out also;

How can I avoid it.
Thank you very much!
Threaded | Oldest First Previous Topic | Next Topic | Top


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