Forum Replies Created

Viewing 25 posts - 3,251 through 3,275 (of 3,680 total)
  • Author
    Posts
  • in reply to: "Highlight Matching Brackets" cannot work good #5288
    Yutaka Emura
    Keymaster

    xxx_pic wrote:
    Version: 7.00 final to 7.00.1 RC6

    In HTML Tags or Comments the cannot Highlight Matching Brackets

    Example (HTML file):

    <!–
    [ something ]
    ( something )
    –>

    // ( something )

    Example (JS file):
    // [ something ]

    Example (VBS file):
    ‘ [ something ]

    This is not a bug. Matching bracket does not work in comments any more due to users’ request.

    in reply to: EmEditor Professional 7.00.1 RC 1 #5286
    Yutaka Emura
    Keymaster

    mhwlng wrote:
    close button ‘right side of window’
    how to reproduce, see above

    ============

    note that same problem occurs in RC6
    and also if I select close button on active tab :

    if focus is on open documents and I click the x on the active tab, then the open documents windows is closed and not the active tab.

    Marcel

    I understand what you mean. It will be fixed on RC7. Thanks!

    in reply to: EmEditor Professional 7.00.1 RC 1 #5283
    Yutaka Emura
    Keymaster

    mhwlng wrote:
    Hello,

    I think that this is not logical for the ‘x’. because the open documents plugin has it’s window with it’s own ‘x’

    now, if the focus is on the open documents list, then clicking the ‘x’ on the open documents window and the ‘x’ next to the tabs has the same effect.

    I think the ‘x’ next to the tabs should only close the current tab (regardless of the focus) ?

    I never had this problem in version 6 ?

    Marcel

    I need to clarify your issue. What is your selection for the “Close Button” drop-down list in the Tab Mouse Options dialog box (Customize > Tab > Mouse Options)? Please let me know exactly what your issue is, and how to reproduce your issue. You can also send me your screenshots at [email protected] .

    in reply to: Wish List #5279
    Yutaka Emura
    Keymaster

    letmein7 wrote:
    “Automatically clear search and file history on exit” option on emeditor 7 pro.?

    thank you.

    For search history, you can use the following macro, and assign this to run at the event of “Group Window Closed”. Unfortunately, file history cannot be cleared unless you check “Do no share process between documents” in the Advanced tab of Customize dialog box. If this is the case, you can uncomment the four lines in the code so all the file list will be also erased.


    WshShell = new ActiveXObject( "WScript.Shell" );
    //try { WshShell.RegDelete( "HKCUSoftwareEmSoftEmEditor v3Recent File List" ); } catch( e ){}
    //try { WshShell.RegDelete( "HKCUSoftwareEmSoftEmEditor v3Recent Folder List" ); } catch( e ){}
    //try { WshShell.RegDelete( "HKCUSoftwareEmSoftEmEditor v3Recent Font List" ); } catch( e ){}
    //try { WshShell.RegDelete( "HKCUSoftwareEmSoftEmEditor v3Recent Insert List" ); } catch( e ){}
    try { WshShell.RegDelete( "HKCUSoftwareEmSoftEmEditor v3CommonFind" ); } catch( e ){}
    try { WshShell.RegDelete( "HKCUSoftwareEmSoftEmEditor v3CommonFindFlag" ); } catch( e ){}

    in reply to: EmEditor Professional 7.00.1 RC 1 #5277
    Yutaka Emura
    Keymaster

    Thanks for explanation. This is a specification. You will need to set focus in text view before you press Ctrl+F4 to close the current document.

    in reply to: Encoding can not change #5276
    Yutaka Emura
    Keymaster

    chabulier wrote:
    Even you open an UTF8 file which contains special char, when you click save it will not work, fortunately the save as still can work.

    Definately this is not we expect.

    You should select “Configured Encoding” in the Encoding drop-down list of Save Details dialog box. — which is the default settings.

    in reply to: Cursor Color #5275
    Yutaka Emura
    Keymaster

    cptraddict wrote:
    For what I have seen there is a way to change the color of the blinking cursor that shows your current position. I have been trying to find the correct category in the “Display” tab but none of the categories seem to have the desired effect. Does anyone know what category corresponds to the blinking cursor?

    Unfortunately, there is no way to change the color of the linking cursor only. The cursor color is an inverted color of the background. You might want to change the color of the current line, or display horizontal/vertical lines.

    in reply to: Request: selection length in status bar #5269
    Yutaka Emura
    Keymaster

    tranglos wrote:
    Very often I need to ensure that a string does not exceed a particular length.

    To this end it would be very helpful if EmEditor would display current selection length in the status bar, next to the cursor position field. I hoped this option would already be available in Customize -> Status, but it isn’t. Could this be added, please?

    Use the following macro:

    SelLength.jsee:


    status = "Selection: " + document.selection.Text.length + " characters.";

    and run this macro when you want to find the selection length. Or, even better, set this macro run at the event of selection changed. To do this, select Customize on the Macros menu, in the My Macros tab, select this macro (SelLength.jsee) in the list, check Runs at Events, click Events button, and check Selection Changed.

    in reply to: Add menu command for…… #5266
    Yutaka Emura
    Keymaster

    TheXman wrote:
    How about adding a “Save As…” toolbar button also? :-)

    Use the following macro, and you can add this macro to anywhere in the toolbars.

    SaveAs.jsee:


    #icon="any icon file"
    #title = ""
    #tooltip = "Save As"
    editor.ExecuteCommandByID(4100);
    in reply to: Add menu command for…… #5265
    Yutaka Emura
    Keymaster

    whileloop wrote:
    I suggest add the following menu commands:
    [Edit]
    Enable Virtual Space
    [View]
    Show Ruler
    Show Line Number

    Also I suggest add an option to enable virtual space for column select. I requre this to keep alignment of columns (when not every line of the same length). Changing the option to allow this, and then changing back everytime is inconvenient.

    Use following macros, and you can add these macros to anywhere in the menu.

    TogleVirtualSpace.jsee:


    cfg = document.Config;
    cfg.General.VirtualSpace = !cfg.General.VirtualSpace;
    cfg.Save();

    ToggleRuler.jsee:


    cfg = document.Config;
    cfg.General.ShowRuler = !cfg.General.ShowRuler;
    cfg.Save();

    ToggleLineNumbers.jsee:


    cfg = document.Config;
    cfg.General.ShowLineNumbers = !cfg.General.ShowLineNumbers;
    cfg.Save();
    in reply to: Open file with unknown encoding #5261
    Yutaka Emura
    Keymaster

    whileloop wrote:
    When open a file with unknown encoding by context menu, EmEditor display the following dialog.

    I suggest add option to change encoding in this dialog.

    I can’t see the image. Please email me at [email protected].

    in reply to: Bug : Error of Regular Expression in JavaScript Macro #5259
    Yutaka Emura
    Keymaster

    I cannot reproduce your problem of Method 1 in Replace dialog. What macro do you use? Please let me know which version of EmEditor and OS you are using. Please email me a sample file and a sample macro so that I can reproduce your problem. Please make your sample macro small enough to use as a test case. Thanks! [email protected]

    WindBell wrote:
    I want to merge all line to make each line end with “]” or “>” or “=”

    So I use

    Regular Expression

    Method 1:
    find “([^]=>])n”
    then replace with “1 “

    Method 2:
    find (?])n ( Search every n without a “]” or “>” or “=”
    then replace with nothing

    Both works well under Find/Replace dialog .

    But Method 1
    Delete a character before “n” and generate a strange character :

    Is it a bug or my fault in writing this script ?

    in reply to: Wish List #5257
    Yutaka Emura
    Keymaster

    alexq wrote:
    Thanks for your prog and efforts!
    the only problem I have is opening multiple files
    from the command line using wildcards, like in this thread

    I need to apply macro for multiple .htm files.
    my command line is:
    “D:EmEditorEmEditor.exe” /mf “C:CORcor.jsee” “C:COR*.htm”

    it’s very frustrating to get every time “invalid path” reply.
    command line options don’t work:(((

    p.s. one file is opened well, but I have 5K files to process.

    Please, make wildcards work :-)

    I might consider that in future. However, if you have many files to open, I would recommend you to use a macro instead of command line. I believe macros can do very well in your case.

    in reply to: text flickering, text flashes #5255
    Yutaka Emura
    Keymaster

    Criss wrote:
    The text is flickering, flashes, when entering text and the
    outline is displayed and “outline as guide” is enabled.

    This ist still the case with version 7.00!

    previous posts:
    http://www.emeditor.com/modules/newbb/viewtopic.php?viewmode=flat&topic_id=197&forum=8
    http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=471&forum=12&post_id=1321#forumpost1321

    Furthermore the outline plugin should be improved regarding this:
    – you should be able to collapse text without displaying the outline as guide
    – the status of collapse should be saved with workspace

    Thanks

    I cannot reproduce your flickering problem. What OS do you use? Does the problem still exist if you disable “outline as guide”? Any particular files? If you have a sample text file that can reproduce the problem, please email me at [email protected]

    in reply to: How to clear the list of recently opened documents? #5252
    Yutaka Emura
    Keymaster

    gargie wrote:
    Is there a way to manually clear the list of recently opened documents in the File menu? Could this be incorporated into the Properties for All Configurations so that the user can specify how many recently opened files (zero or more) EmEditor should remember? I understand this is a common feature in other text editors.

    Yes. Tools menu, Customize, History tab, and Clear History button.

    in reply to: EmEditor Professional 7.00.1 RC 1 #5250
    Yutaka Emura
    Keymaster

    mhwlng wrote:
    If I have a lot of files open in the ‘open documents’ plugin and I click on the ‘x’ on the right

    Sometimes, the current document doesn’t close, but the ‘open documents’ plugin window closes instead

    Marcel

    Can you please send me screenshot? [email protected]
    Thanks!

    in reply to: File|Properties… ? #5247
    Yutaka Emura
    Keymaster

    garret wrote:
    Oh, I see some of this info down on the status bar.

    It would be nice to have an official File|Properties… dialog, though.

    Thanks, and Happy New Year.

    Garret

    Not in EmEditor core. In the Explorer plug-in, you can select Properties from the context menu.

    in reply to: Selecting text with doubleclick #5244
    Yutaka Emura
    Keymaster

    gan wrote:

    Yutaka wrote:
    Hi, current word delimiters when double-clicking are not customizable. I will take this one of feature enhancement in future versions. And you are right, you cannot tile or cascade within one group. You will have to create a new group to do this. An easiest way is to select “New Horizontal Gruop” or “New Vertical Group” command in the Window menu or in the tab menu. There used to be a synchronized scrolling plug-in created by a user, but I am not sure if it still works. I might create a new plug-in for this purpose, or add this feature in future versions. Thanks!

    Thank you for your prompt reply Yutaka. I’ll hope the customizable word delimiters is something that will be included in the close future. I’ll see if i find the synchronized scrolling plug-in, but it’s not something i use a lot so not a big problem.

    I also got one other question. It seems like it’s not possible to add the “Save as” button to the toolbar. Is this correct or is it only me that cannot find out how to do this? I use the trial of version 7.00.

    Thanks in advance
    gan

    There is no standard icon for Save As. Intead use the following macro (JavaScript), and place this macro button to anywhere you would like. “icon file name” should be the full path and name of any files including icon resource you would like to display.

    saveas.jsee


    #icon = "icon file name"
    #title = ""
    #tooltip = "Save As"
    editor.ExecuteCommandByID(4100);

    in reply to: buggy cursor positioning #5242
    Yutaka Emura
    Keymaster

    garret wrote:
    That seems to have fixed it. Thanks.

    But I would expect the Help|About dialog to indicate the RC1 release—what if I forget what version I’m using and want to check the About box?

    I forgot to check the About dialog box version number. I am sorry for confusion. Just make sure the timestamp of emeditor.exe is updated. It will be fixed on the next release.

    in reply to: Bug in "Find/Replace in Files…" using regular expressions #5240
    Yutaka Emura
    Keymaster

    ptlomholt wrote:
    Something strange is going on with Find/Replace in Files when using some regular expressions.
    To reproduce create a file, say file0.txt, with the following contents:
    ABC
    DEF
    GHI
    (note the leading space on each line) and save it to an empty folder. Now do “Find in Files…” using the following regular expression s*DEF, check the “Use Regular Expressions” checkbox, File Types: *.txt and select the folder with the file in.

    The search result is:
    F:workzoneEmEditorfile0.txt(1): ABC
    which obviously is incorrect! When doing “Replace in Files…” instead it _does_ replace the correct match (good).

    However using DEFn as the search expression doesn’t find anything and also doesn’t replace anything!

    When doing the same Search or Replace using the simple Find/Replace command, everything works fine.

    This was using the 7.0 Pro RTW build, both x86 and x64 versions exhibit this behavior

    Any ideas?

    Regards
    -Poul

    F:workzoneEmEditorfile0.txt(1): ABC

    is correct because s* matches the new line characters “rn” between ABC and DEF, and the Find in Files result only shows the first line of the matched string.

    You will need to use

    DEFrn

    to match a new line after DEF, or check “Use escape sequence” instead of “Use regular expressions”. I know this is a little strange specification, but see http://www.emeditor.com/help/howto/search/search_nl.htm
    for details.

    in reply to: Selecting text with doubleclick #5238
    Yutaka Emura
    Keymaster

    gan wrote:
    Hello,

    I work a lot with text files and tried a lot of text editors, but only found one that i really like. The one that i been using now for some time is pretty good, but it got some annoying issues so i been looking for another text editor. I haven’t really tried emeditor before i downloaded a trial today and it seems to be pretty good, but there is a couple of things i cannot figure out and hope someone can help me out.

    The first thing is when i doubleclick to select a word it seems to work fine, but a lot of the textfiles i got contains IP address and i cannot find any settings to make the doubleclick include the dot. For example when i doubleclick 10.1.1.1 it should select the whole IP address and not only the number i doubleclick on. In this case if i double click on 10 only 10 is selected and not the whole IP address (10.1.1.1). Is there any way to set what the delimiters should be for the doubleclick to select some text?

    I also wonder about the tile feature. I would like to be able to tile two textfiles vertically and have synchronized scrolling, but within a single instance/group of emeditor. It seems like this is not possible since tile will create a separate instance (or group) for the textfiles. Also i cannot see any option for the synchronized scrolling. Is this possible to do?

    -gan-

    Hi, current word delimiters when double-clicking are not customizable. I will take this one of feature enhancement in future versions. And you are right, you cannot tile or cascade within one group. You will have to create a new group to do this. An easiest way is to select “New Horizontal Gruop” or “New Vertical Group” command in the Window menu or in the tab menu. There used to be a synchronized scrolling plug-in created by a user, but I am not sure if it still works. I might create a new plug-in for this purpose, or add this feature in future versions. Thanks!

    in reply to: Regular Express Bug? #5235
    Yutaka Emura
    Keymaster

    chabulier wrote:
    Well, I try to use it locate a string.
    1) I run this, it works well.
    ^01.{0,200}
    2) Then I use the following one, it doesn’t work for me.
    (?<=^01.{0,200}).{15}
    3) I tried to use the following one, it works.
    (?<=^01.{200,200}).{15}

    I’m wondering if it’s a bug.

    I don’t believe it is a bug. It is the specification of the regular expression EmEditor uses. The pattern in (?<=pattern) does not support vaiable length.

    in reply to: buggy cursor positioning #5233
    Yutaka Emura
    Keymaster

    This bug has been fixed on 7.00.1 RC 1.
    Thanks!

    in reply to: buggy cursor positioning #5232
    Yutaka Emura
    Keymaster

    I might upload the beta version of the next minor version soon (possibly in January 2008). Please test the beta version (or RC version) before I release the final version. Thanks!

    in reply to: buggy cursor positioning #5229
    Yutaka Emura
    Keymaster

    garret wrote:
    I’m running v. 7.00 on a 1600×1200 monitor in Courier New 8pt font, wrapping by window (Ctrl+3). I enter the following text:

    “asdkf kljashf lkjsahf lkjsahf lkjashf lkjsdahf lkjsdahf lkjsdaf lkjsadf lkjsadhf lkjsahf lkjsaf lkjsadhf lkjsadhf lkjsadhf lkjsdhflkjsdhfljsdhfskadjfh lsdakjhf lskjdhf lksjdahf lksadjhf lksajdhf lksjadhf lksjadhf kljsadhf lkjsdahflkjsdahf lksdjahf lkjsdahf lkjsadhf kljsdf”

    At this resolution and font, the one logical line wraps to show “kljsdf” on the second physical line. I position the cursor after the last character in “kljsdf”, and press “Home”. The cursor appears at the end of the first physical line, after “lkjsadhf “. (Expected: the cursor should appear at the beginning of the second physical line, before “kljsdf”.)

    With the cursor still at the end of the first physical line, I press the up arrow key. The cursor now appears at the beginning of the second physical line, before “kljsdf”. (Expected: the cursor should not have moved. Even if the cursor had been where it should have been, at the beginning of the second physical line, it should have went to the beginning of the first physical line.)

    With the cursor at the beginning of the second physical line, before “kljsdf”, I press the up arrow again. The cursor does not move. (Expected: the cursor should move up to the beginning of the first physical line.)

    I already realize this issue, and have already fixed that in my code. Thanks!

Viewing 25 posts - 3,251 through 3,275 (of 3,680 total)