EmEditor (text editor) Forum Index
   EmEditor Core Enhancement Suggestions
     Find Window should be provide Word Find Count Function
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
capaccino
Posted on: 8/15/2009 7:42 pm
Just popping in
Joined: 8/15/2009
From:
Posts: 4
Find Window should be provide Word Find Count Function
Find Window should be provide Word Find Count Function.
Like Ultra Edit
I write a script to count in EmEditor,but it is too slowly in large file.


var nFound ;
var sInput,count=0;
sInput=prompt("Please input Regex","");
if(sInput!=""){
while((nFound =document.selection.Find(sInput,eeFindNext | eeFindReplaceRegExp))>0){
count++;
}
alert("count:"+count );
}
Yutaka
Posted on: 8/15/2009 7:46 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: Find Window should be provide Word Find Count Function
Quote:

capaccino wrote:
Find Window should be provide Word Find Count Function.
Like Ultra Edit


Please use WordCount plug-in instead. Thanks!


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

capaccino
Posted on: 8/15/2009 7:51 pm
Just popping in
Joined: 8/15/2009
From:
Posts: 4
Re: Find Window should be provide Word Find Count Function
WordCount plug-in is Count the whole Text.
I want to count how many words I find in Find Window.(Use regular expressions)
capaccino
Posted on: 8/15/2009 8:54 pm
Just popping in
Joined: 8/15/2009
From:
Posts: 4
Re: Find Window should be provide Word Find Count Function
May be use WordCount plug-in can find, but it's too slowly when using large file. I open more than 20M file,the plug-in spend more than 3 minutes.
I only want to count the num what I defind regex in Find Window.
Like Ultra Edit,it is very quickly.
Yutaka
Posted on: 8/15/2009 8:54 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: Find Window should be provide Word Find Count Function
Quote:

capaccino wrote:
WordCount plug-in is Count the whole Text.
I want to count how many words I find in Find Window.(Use regular expressions)


You can define a query and use a regular expression.
http://www.emeditor.com/modules/tutorials4/index.php?id=14


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

capaccino
Posted on: 8/15/2009 9:05 pm
Just popping in
Joined: 8/15/2009
From:
Posts: 4
Re: Find Window should be provide Word Find Count Function
May be use WordCount plug-in can find, but it's too slowly when using large file. I open more than 20M file,the plug-in spend more than 3 minutes.
I only want to count the num what I defind regex in Find Window.
Like Ultra Edit,it is very quickly.
chabulier
Posted on: 8/17/2009 11:15 pm
Not too shy to talk
Joined: 1/17/2007
From:
Posts: 28
Re: Find Window should be provide Word Find Count Function
This feature should be considered into core function. In many times we only care about the count. As I now, both the textPad, NotePad++ has this feature. Maybe the count function is hard for RegExp?
Pancho
Posted on: 11/18/2009 8:14 pm
Just popping in
Joined: 2/7/2009
From:
Posts: 9
Re: Find Window should be provide Word Find Count Function
i use rplace for calculate expressions,
example:
replace "<item>" to "<item>"
in status bar i see number substitutions

ps. i cant found method or macro how to it make, select text and run macros. Wordcount very hard for it


----------------

Threaded | Newest First Previous Topic | Next Topic | Top


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