Forum Replies Created

Viewing 25 posts - 2,126 through 2,150 (of 3,679 total)
  • Author
    Posts
  • in reply to: Custom Macro Icon #8776
    Yutaka Emura
    Keymaster

    Hi Cirillo,

    Thanks for using EmEditor Professional!

    Yes, a macro has to be included in My Macros in order for it to be appeared in the main toolbar. You can hide the Macros toolbar, and show selected macro buttons on the main toolbar.

    Please let me know if you have further questions.
    Thanks!

    in reply to: Enhancement to the explorer plugin #8760
    Yutaka Emura
    Keymaster

    I understand these are important improvements. I might consider these in future verisons.
    Thank you!

    in reply to: XML syntax incorrectly highlights multiline comments #8757
    Yutaka Emura
    Keymaster

    Hi maxim_2004,

    Can you email me your sample file (as an attachment after zipped)? My email is [email protected] .

    Thanks!

    in reply to: open next file in the folder #8747
    Yutaka Emura
    Keymaster

    No, it doesn’t work with previous text file.

    in reply to: open next file in the folder #8744
    Yutaka Emura
    Keymaster

    You can assign any shortcut key from the configuration properties > Keyboard tab. You can select this macro in the My Macros category, and then assign a new key.

    in reply to: open next file in the folder #8742
    Yutaka Emura
    Keymaster

    This is an example of the macro that opens the next .txt file in the same folder as the opened file.


    // This macro opens the next ".txt" file in the current folder.
    //
    sFolder = document.Path;
    if( sFolder != "" ){
    fso = new ActiveXObject("Scripting.FileSystemObject");
    f = fso.GetFolder(sFolder);
    fc = new Enumerator(f.files);
    sItem = "";
    for (; !fc.atEnd(); fc.moveNext()) {
    if( fc.item().name == document.Name ) {
    for( fc.moveNext(); !fc.atEnd(); fc.moveNext()) {
    n = fc.item().name.lastIndexOf(".");
    if( n != -1 ){
    if( fc.item().name.slice( n ) == ".txt" ){
    sPath = sFolder + "" + fc.item().name;
    try {
    editor.OpenFile( sPath );
    }
    catch(e){
    }
    break;
    }
    }
    }
    break;
    }
    }
    }

    in reply to: no tabs #8740
    Yutaka Emura
    Keymaster

    Hi Maria,

    To enable or disable the Tabs, you can use the EnableTab property of Editor object.


    editor.EnableTab = true;

    To find if OpenDocuments.dll is checked, please use the following code:


    function IsPluginChecked( sPluginName )
    {
    for( nID = 5632; nID <= 5632 + 255; nID++ ){
    str = editor.QueryStringbyID( nID );
    if( str == sPluginName ){
    nStatus = editor.QueryStatusByID( nID );
    if( nStatus & eeStatusLatched ) {
    return true;
    }
    break;
    }
    }
    return false;
    }

    alert( IsPluginChecked( "OpenDocuments.dll" ) );

    Please let me know if you have further questions. Thanks!

    in reply to: open next file in the folder #8738
    Yutaka Emura
    Keymaster

    Hi user,

    You could write a macro to view the next text file in the current folder by pressing a shortcut key.

    in reply to: organize text #8737
    Yutaka Emura
    Keymaster

    Hi user,

    This is an example of a JavaScript macro:


    sText = document.selection.Text;
    if( sText != "" ) {
    menu = CreatePopupMenu();
    nCount = editor.Documents.Count;
    for( i = 1; i <= nCount; i++ ){
    doc = editor.Documents.Item( i );
    if( doc != document ){
    menu.Add( doc.FullName, i );
    }
    }

    result = menu.Track( 0 );
    if( result != 0 ) {
    docOrg = document;
    doc = editor.Documents.Item( result );
    doc.Activate();
    document.selection.EndOfDocument();
    document.selection.Text = sText;
    docOrg.Activate();
    document.selection.Delete();
    }
    }

    in reply to: Hunspell Engine #8734
    Yutaka Emura
    Keymaster

    Hi Cirillo,

    Sure. I will try to use newer version but I prefer doing on major version upgrade. What are the difference between 1.2.9 and 1.2.11?

    I cannot support if you replace the DLL, and I don’t know if it is different. If you want, you can try it at your own risk.

    in reply to: Improving Auto-complete brackets/quotation marks #8732
    Yutaka Emura
    Keymaster

    Hi petx,

    I will consider your inputs in future versions.
    Thanks for your inputs!

    in reply to: emedtray.exe and memory #8730
    Yutaka Emura
    Keymaster

    Hi user,

    Thanks for your comments! I might consider that in future versions.
    If you are using Windows 7, you might not need the Tray Icon since the Task Bar EmEditor icon includes the Task menus that include most of the same menus as the Tray Icon.

    in reply to: pc crash #8728
    Yutaka Emura
    Keymaster

    Hi user,

    That is exactly the new feature of EmEditor v10. It should restore the previous workspace even with unsaved files after the application crash.

    Thanks for using EmEditor!

    in reply to: XML syntax incorrectly highlights multiline comments #8727
    Yutaka Emura
    Keymaster

    No, I cannot reproduce this issue. Did you try on v10?
    I would suggest you to reset all configurations, and can you try again?

    in reply to: no tabs #8725
    Yutaka Emura
    Keymaster

    Hi Derek,

    Unfortunately not.
    Thank you for using EmEditor!

    in reply to: Close documents inconsistent behaviour #8722
    Yutaka Emura
    Keymaster

    Hello derekcohen,

    I will fix this issue.
    Thank you!

    in reply to: Ctrl+F3 non-intuitive work #8719
    Yutaka Emura
    Keymaster

    Hello Flint,

    Thanks for your comments. Some people don’t want to change the text at all, so this needs to be optional. I might think about that in future versions.

    in reply to: Split sidebar/custom bar #8718
    Yutaka Emura
    Keymaster

    Hello BlackIce,

    Thanks for trying EmEditor!
    Unfortunately, there is no way to split sidebars. This is because we want to make sure EmEditor launches fast and it will not become bloated. I understand many people want this feature, but currently, I take higher priority on lightweight and fast launch of EmEditor.

    Please let me know if you have further questions.
    Thank you,

    in reply to: EmEditor 10 – Default Encoding #8713
    Yutaka Emura
    Keymaster

    Hello spudly,

    As long as you use any one of Western European versions of Windows, US-ASCII and Western European encodings are exactly the same. To disable the Detect All result dialog box, you might want to uncheck “Detect All” check box in the Open dialog box when you open a file.

    Please don’t hesitate to ask me again if you have further questions.
    Thank you,

    in reply to: a bug in newly improved vertical mode #8711
    Yutaka Emura
    Keymaster

    Hello zhouzh2,

    This is currently specification. What if the second line wraps by window? EmEditor currently judges only by the first line. I notice someone might insert a selection like this example, but currently there is no way to insert the selection like this. I might have to add an option to make this possible in future versions. Thanks for comments, Flint.

    in reply to: How to know a doc's return method #8704
    Yutaka Emura
    Keymaster

    dc.FileSave.ReturnMethod usually always returns 0. This means the configuration will not alter the return method of a document. EmEditor supports files that have mixed return methods.

    If you want to find the return method of the current document and if you know the return method is the same in the entire document, you can write:

    str = document.GetLine( 0, eeGetLineWithNewLines )

    Then you can find what the return method of the current document is.

    I hope this helps.
    If you have further questions, please let me know.
    Thanks!

    in reply to: Open non-text file in project with proper application #8702
    Yutaka Emura
    Keymaster

    Hello hoody,

    I might think about that feature in future versions.
    Thanks!

    in reply to: How to know a doc's return method #8700
    Yutaka Emura
    Keymaster

    Hi,

    GetLine method (Document object) allows you to add new line character(s) (CR, LF, or CR+LF) at the end of the line.


    str = document.GetLine( yLine, eeGetLineWithNewLines )

    Then you can correctly count the line length.

    I hope this helps.

    in reply to: Worried about bloat… #8699
    Yutaka Emura
    Keymaster

    Hi,

    Thanks for sharing your concern. But don’t worry. I make sure the text editor launches as fast as previous versions every time when I upgrade.

    Here is the average launch time for each major version. I tested on a Virtual Machine (average time except the first launch).

    v8.06 —— 0.110 sec
    v9.17 —— 0.104 sec
    v10 RC18 — 0.083 sec

    As you can see, the launch speed is about the same within error. The test shows v10 is actually faster than v9 in launch speed. This is I believe because it gets rid of Diff plug-in, and several localized DLLs for plug-ins have been deprecated and combined with the core locale file (emedloc.dll). But I would say this is still in error range.

    When I add a new feature, I always consider optimization, and I wouldn’t add a feature that might make the overall program slower. The code needed for comparison feature was not as much as you might think, and all the code for the UI (dialog boxes) were added as DLL files (emeddlgt.dll and emeddlgs.dll). On the other hand, plug-ins have to be loaded at launch time because EmEditor needs to show icons and text for the menus. I am going to further optimize for the speed in future versions.

    in reply to: How to open a save as dialog with a specified path? #8696
    Yutaka Emura
    Keymaster

    Hello wgf4242,

    Select Customize under the Tools menu, and check the Remember Last Folder check box on the Customize dialog box.

    Alternatively, display the Properties for the EmEditor shortcut that you usually use to run EmEditor, and add /cd in the Target text box. For instance, if the install folder of EmEditor is “C:Program FilesEmEditor”, enter “C:Program FilesEmEditoremeditor.exe” /cd. Moreover, fill the Start in text box as a folder you want to open from.

    Please let me know if you have further questions.

    Thanks,

Viewing 25 posts - 2,126 through 2,150 (of 3,679 total)