Forum Replies Created

Viewing 25 posts - 3,101 through 3,125 (of 3,701 total)
  • Author
    Posts
  • in reply to: All toolbars remember their status #5792
    Yutaka Emura
    Keymaster

    Veign wrote:
    Very good. Should have known you would have already thought of it.

    Keep up the great work on an excellent text editor.

    You are welcome! Let me know if you have any other questions.

    in reply to: All toolbars remember their status #5784
    Yutaka Emura
    Keymaster

    Veign wrote:
    The tools bars for plugins won’t remember their state when emEditor is closed and restarted. Would be nice if I show the HTMLBar that when I open emEditor this toolbar is displayed.

    HTMLBar can be configured so it can display the HTMLBar only when an HTML file is active. You can check your settings from the HTMLBar properties.

    in reply to: EmEditor Speed #5781
    Yutaka Emura
    Keymaster

    gan wrote:
    I did a test on the same file, but with 1129344 entries to replace and as you said in this case emeditor is faster without any doubt…..especially when “Match case” is checked.

    I don’t know if textpad use ANSI comparison or not, but if that is the case i guess it can make a difference as well as you also said.

    In any case i don’t find the speed to be a problem for either of them so it was never mean’t as a complaint…..just an observation.

    Regards
    Gan

    I’ve played around with the source code, and succeeded to optimize the Replace function. The next minor version (7.00.7) will become much faster than previous versions (about 5X faster when ignoring case, and 2X faster when matching case in my test).

    in reply to: EmEditor Speed #5778
    Yutaka Emura
    Keymaster

    The point is the number of tokens (occurrences). If you have a million of tokens to replace, you will see EmEditor is faster. Also, it is not fair to compare EmEditor with a non-Unicode text editor. There is a big difference between ANSI comparison and Unicode comparison.

    in reply to: Help me create a Macro #5776
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    Thanks a lot for replying

    I tried what u told, but the number of Empty elements present in the is many, so if i use the replacment option it deletes one instance at a time, and the number of files with such instances are also many, so it will be time consuming.

    I created a macro to replace all empty elements in at one go:

    document.selection.Find(“”,eeFindNext | eeFindReplaceRegExp);
    document.selection.CharLeft(false,1);
    editor.ExecuteCommandByID(4153);
    document.selection.Find(“”,eeFindNext | eeFindReplaceRegExp);
    document.selection.Replace(“(]+>){1,20}”,””,eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
    document.selection.Replace(“”,””,eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
    document.selection.CharRight(false,1);

    But i dont know how to make it run on all the files.
    There are 1000’s of such files.

    Thanks in Advance!!

    If you have so many files, how about ReplaceInFiles Method (Editor object)?

    in reply to: Help me create a Macro #5774
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    Hello:

    Please help me to create a macro:

    I want to delete the follwoing:

    (]+>){1,20} (empty elements)

    but there is a condition i want to delete the above only when it comes in the following parent element i.e..

    ….

    For e.g.

    BUNDESARBEITSGERICHT

    URTEIL

    The above should apply to all the XML files in a particular path.

    Thanks in Advance

    Go to Customize > Search tab, and check “Regular Expressions Can Match New Line Characters”, and set “Additional Lines to Search for Regular Expressions” to 10.

    Find:
    (.*?)(]+>){1,20}(.*?)

    Replace with:
    13

    in reply to: Restoring File Tree Window #5770
    Yutaka Emura
    Keymaster

    GJim wrote:
    I inadvertently closed the side window that shows the folders/files tree. I have been through all the various menu options, but I don’t find a way to restore that window.

    AtDhVaAnNkCsE

    G’Jim c):{-

    Click “Explorer” button on the Plug-ins toolbar, or click Plug-ins on the Tools menu, and then check “Explorer”.

    in reply to: Problem while replacing the multiple blank lines #5768
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    can you make this macro run on all the files in certain path where those files are present. please!!!!

    In that case, you can go to “Replace in Files” on the Search menu, and

    Find:
    (rn){2,}

    Replace with:
    rn

    File Type:
    *.txt (or enter file type)

    In Folder:
    File folder

    Check “Use Regular Expressions”
    Don’t check “Keep Modified Files Open”

    in reply to: Problem while replacing the multiple blank lines #5766
    Yutaka Emura
    Keymaster
    in reply to: EmEditor Speed #5761
    Yutaka Emura
    Keymaster

    I have 1 million line US-ASCII text (80.9MB), and the content is:


    1-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
    2-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
    3-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
    ...

    I replaced “abc” with “XXXXXXXXXX”. That means there are 2 tokens in each line to replace when case matching, or 3 tokens when no case matching, total of 2 (or 3 ) million tokens in the entire file. The host is Windows XP SP2 (English) in Virtual PC 2007 (within Windows Vista 64-bit Intel Core 2 Quad Q6600, 8GB RAM). All software programs are freshly installed.

    Here is my result:

    Textpad 5.2.0 32-bit
    No case matching: 34 sec
    Match case: 22 sec

    Notepad++ 4.7.5
    No case matching: 10 min 3 sec
    Match case: 6 min 32 sec

    EmEditor Professional 7.00.5
    No case matching: 9 sec
    Match case: 5 sec

    Thus, EmEditor Professional was the fastest of all these three. I also found something noteworthy: Only EmEditor allows you to cancel replacing during the operation. Other programs do not allow you to abort once you hit “Replace All” until the operation is finished. TextPad does not allow you open Unicode files (such as Japanese characters) correctly (it opens but converts Unicode characters into a substitute character “?”). I wanted to compare Unicode files, but couldn’t because of this.

    I don’t know why you have the different result. Maybe because you have only a few tokens to replace, or your file might be encoded in a different encoding. This is the reason it would be more helpful if you could email me your sample file so I can reproduce your issue. Is your Windows system encoding English? (You can find out from Control Panel > Regional Language Options > Advanced tab – “Language for non-Unicode programs”)

    in reply to: Multiple Replacment in all the Files #5758
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    I tried to use the macro script for replacement in all the files.

    below is the sample, here i am getting some error report for closing of “)” at sandeep, “D:PRASHOB, can you please tell me exactly where i am making the mistake.

    editor.ReplaceInFiles( “prashob”, “sandeep, “D:PRASHOBLY-01juriontesttest2*.xml”, eeReplaceBackup, eeEncodingSystemDefault, “”, “D:PRASHOBLY-01juriontesttest2backup” );

    ” is missing after sandeep


    editor.ReplaceInFiles( "prashob", "sandeep", "D:PRASHOBLY-01juriontesttest2*.xml", eeReplaceBackup, eeEncodingSystemDefault, "", "D:PRASHOBLY-01juriontesttest2backup" );

    in reply to: Current Line Highlighting #5755
    Yutaka Emura
    Keymaster

    SteveH wrote:
    I’ve never been completely comfortable with the way EmEditor handles current line highlighting and feel it would be be more logical to always have the current line highlighting always in the foreground.

    I would prefer if it the highlighting was not broken up with other elements such as string highlighting or URL highlighting as shown in this example.

    You can use “Transparent” as background color for URL and highlighting strings. To do this easier, start from “EmEditor Standard” as the Theme (if “EmEditor Classic” was selected), and then start customizing Current Line background.

    in reply to: Multiple Replacment in all the Files #5747
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    IS ANY ONE THERE TO SOLVE MY QUERY.

    I NEED TO KNOW WHETHER MULTIPLE REPLACMENT IS POSSIBLE OR NOT

    SOLVE MY QUERY PLEASE.

    I posted two samples

    Replace All – mulitple times
    http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=675&forum=19

    Replace in Files – multiple times
    http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=676&forum=19

    Once these macros are included in your My Macros list, you can assign these macros to any shortcut keys or toolbars.

    The All Documents checkbox in Replace dialog box — I will consider that feature in future versions. For now, you can use a macro to do that job. Thanks!

    in reply to: EmEditor Speed #5742
    Yutaka Emura
    Keymaster

    thylocene wrote:
    As I said, my settings were out-of-the-box.

    Search and replace string did not include regex

    ex. Replace AND with XXXXXXXXXX

    Pretty simple

    My environment is Vista 64-bit, but I do not think that has anything to do with it since the other programs are 32-bit as well so some thunking should be taking place.

    I have 1 million line text (81MB), and did a simple replace (Replace “abc” with “XXXXXXXXXX”). In my machine it took about 8 seconds (when “Match Case” is off), and 3 seconds (when “Match Case” is on). Is this comparable to your results? You might want to try “Match Case” on, since this changes the speed dramatically. I will still look into more details. Thank you!

    in reply to: Replace all In all the opened Files #5741
    Yutaka Emura
    Keymaster

    Replace command will not be recorded automatically.

    This is what you need:


    // JavaScript
    docs = new Enumerator( editor.Documents );
    for( ; !docs.atEnd(); docs.moveNext() ){
    doc = docs.item();
    doc.Activate();
    doc.selection.Replace( "abc", "def", eeReplaceAll );
    }

    in reply to: delete all previous text #5740
    Yutaka Emura
    Keymaster

    user wrote:
    hello

    CTRL+D deletes all the previous characters (from the position of the cursor), but only inside the same line

    can I make another key combination to delete all the previous text (all lines and characters)?

    thanks

    CTRL + SHIFT + HOME, and then DELETE

    If you would like, you can record this combination to a macro.

    Yutaka Emura
    Keymaster

    maynard wrote:
    unicode2decimal.js works, but unicode2hex.js is still broken.

    It is OK now. Make sure you clear cache on your browser before you download again.

    Yutaka Emura
    Keymaster

    maynard wrote:
    I downloaded a couple of macros, but, every time that I try to run one on my test file (.h in UTF-8), I get an “error in line 1” message. I notice that the .js files start with a BOM and are rife with nulls. :-(

    I am sorry. Those files were corrupted, but I have just fixed those. Thank you for reporting the error.

    in reply to: Sort Number #5732
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    Is it possible to sort number or text in ascending or descending order.

    I downloaded some pluggin called sortnumber500s.zip and copied all it content to my pluggin folder, but I dont see any option or icon for this when i open my editor.

    Please help me in this

    Thanks!!!!

    You downloaded the source code of the plug-in. You will need to download the built versions either at:

    http://www.emeditor.com/modules/mydownloads/viewcat.php?cid=4 (32-bit)
    http://www.emeditor.com/modules/mydownloads/viewcat.php?cid=5 (64-bit)

    After installed, the plug-in should be found in the Plug-ins toolbar, or on the Tools menu > Plug-ins.

    in reply to: Extend Selection #5728
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    Hellooo

    Is there is any option in the editor to have Extend Selection
    When we do ctrl+F (Find) is the tool capable of doing the extendable selection,
    Also in Ctrl+G (Go to the line)

    Before emeditor i used to use Textpad having these functions in the textpad is of great help as it comes very useful to find something from one point to the another,
    This comes very useful when recording the macro also.

    Is it possible with the Emeditor then please let me know.

    Thanks

    You can press F8 before searching or jumping, so the selection becomes the keyboard selection mode. I hope this helps.

    in reply to: File name in List format #5725
    Yutaka Emura
    Keymaster

    prashob12 wrote:
    hello All

    I am new to the forum

    Is it Possible to view the file name of open documents in the editor in a list format.

    now if i open multiple documents its all coming on top of the window. this way its confusing to identify a particular documents. It would be helpful if i can view it in a list format.

    :-(

    Did you check “Open Documents” plug-in?

    in reply to: EmEditor Speed #5724
    Yutaka Emura
    Keymaster

    thylocene wrote:
    Hi
    The size of the text file is around 26 Mb (around 119,000 lines). EmEditor settings are out-of-the-box. In all cases each editor I have tested is with the same file, window size etc,etc.

    I am trying to reproduce your issue, but please let me know more details:

    – what is your search term?

    – “Match Case”, “Escape Sequence”, “Regular Expressions”?

    – Did you select “Wrap by Window” or “Wrap by Characters”?

    – If possible, please email me a sample file (after zipped) at [email protected]

    I will try to reproduce, and will cerntainly try to fix your issue.

    Thank you.

    in reply to: Properties of All Configurations – transfer to another PC #5722
    Yutaka Emura
    Keymaster

    bennett wrote:
    Dear Yutaka,

    In Tools > Properties of All Configurations > Highlight (1) I have at least 60 words or expressions listed for highlighting. Works perfectly. Is there a way of transferring these setting to another machine. I’ve a file with the words highlighted. However, when I transfer the file to another machine, the highlights disappear. Is there a way of transferring the settings in Tools > Properties of All Configurations > Highlight (1) to another machine. We have four registered copies of EmEditor Pro.

    Many thanks.

    bennett

    Use “Import and Export Wizard” you can find on the Tools menu. In this wizard, select the first item “Export all personal settings into a file.”, and in another machine use “Import all personal settings from a file.”

    in reply to: Use Ouput Bar Problem #5715
    Yutaka Emura
    Keymaster

    ileadu wrote:
    Java compile
    Customize Tools Setting
    http://cdwww.twbbs.org/albums/ileadu/aag.png
    \%WinDir\%system32cmd.exe
    $(Path) /k “C:Program FilesJavajdk1.6.0_06binjavac.exe” -Xlint $(Filename).java
    $(Dir)
    C:Program FilesJavajdk1.6.0_06binjavac.exe

    Emeditor 7.00.5
    When I checked “Use Ouput Bar”, to compile is very long time.
    But I unchecked it, it’s immediate

    Emeditor 6.00.4
    When I checked “Use Ouput Bar”, to compile is immediate.

    I think that it may be a bug or not be optimized.

    If you want to use Output Bar, you should specify only the executable (in this case, “C:Program FilesJavajdk1.6.0_06binjavac.exe”) in the Command text box, and the arguments in the Arguments text box. You don’t need to specify cmd.exe anywhere.

    in reply to: EmEditor Speed #5713
    Yutaka Emura
    Keymaster

    thylocene wrote:
    Hi
    I have downloaded an eval copy of the EmEditor to compare against other editors (I am looking for a good fast replacement for notepad). Whilst I can see great potential in the program, I am finding it a bit slow when compared to other products that I have tried such as textpad, notepad++, etc. for things like paging through large text files, search and replace etc. For example textpad is 2 x to 3 x faster at search and replace and much faster at paging.

    My question is do you guys aim to address this in the near future?

    First, a few simple questions: What is the typical size of text file you are trying to page or search/replace? Have you changed any settings on the Advanced tab of the Customize dialog box (on the Tools menu)? We certainly want to optimize the speed in all cases.

Viewing 25 posts - 3,101 through 3,125 (of 3,701 total)