- AuthorPosts
- August 16, 2009 at 3:42 am #7554capaccinoMember
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 );
}August 16, 2009 at 3:46 am #7556Yutaka EmuraKeymastercapaccino wrote:
Find Window should be provide Word Find Count Function.
Like Ultra EditPlease use WordCount plug-in instead. Thanks!
August 16, 2009 at 3:51 am #7557capaccinoMemberWordCount plug-in is Count the whole Text.
I want to count how many words I find in Find Window.(Use regular expressions)August 16, 2009 at 4:54 am #7558capaccinoMemberMay 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.August 16, 2009 at 4:54 am #7559Yutaka EmuraKeymastercapaccino 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=14August 16, 2009 at 5:05 am #7560capaccinoMemberMay 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.August 18, 2009 at 7:15 am #7561chabulierMemberThis 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?
- AuthorPosts
- You must be logged in to reply to this topic.