Forum Replies Created

Viewing 25 posts - 1 through 25 (of 3,653 total)
  • Author
    Posts
  • in reply to: want to indent block by one column #29869
    Yutaka Emura
    Keymaster

    As I wrote on February 25, 2009, please write like this:

    
    cfg = Document.Config;
    cfg.Indent.IndentColumns = 1;
    cfg.Save();
    

    Your example should be:

    
    cfg = Document.Config;
    var oldIC = cfg.Indent.IndentColumns;
    var oldTC = cfg.Indent.TabColumns;
    var oldMr = cfg.General.MarginNormal;
    
    cfg.Indent.IndentColumns = 1;
    cfg.Indent.TabColumns = 1;
    cfg.General.MarginNormal = oldMr - 8;
    cfg.Save();
    
    alert("Indent size changed from " + oldIC + " to " + cfg.Indent.IndentColumns +
          ", tab size changed from " + oldTC + " to " + cfg.Indent.TabColumns +
          ", margin changed from " + oldMr + " to " + cfg.General.MarginNormal + ", and config saved.");
    
    cfg.General.MarginNormal = oldMr;
    cfg.Indent.IndentColumns = oldIC;
    cfg.Indent.TabColumns = oldTC;
    cfg.Save();
    
    in reply to: want to indent block by one column #29865
    Yutaka Emura
    Keymaster

    Hello,

    Could you please summarize your issue as if you were writing about it for the first time? Provide an example to clarify the problem. Include both the current behavior and the expected behavior. You may also post or send screenshots to help explain the issue. Please include only the relevant information. Thank you.

    in reply to: Problems installing latest version #29826
    Yutaka Emura
    Keymaster

    Hello harryray,

    EmEditor v24.2 ends support for per-computer installations. Please uninstall the current version (per-computer) before installing the new version (per-user installation).

    After you uninstall the old version, if you need to change the installation folder, please see FAQ: How do I change the install folder?

    https://www.emeditor.com/faq/installation-faq/how-can-i-change-the-install-folder/

    Alternatively, using the portable version can also help avoid problems. By default, the portable version creates INI files in the same folder as emeditor.exe to save settings. In the new version, settings can be saved to other folders by editing the eeUseIni.ini file located in the same folder as emeditor.exe. For example, if you change the eeUseIni.ini file as follows and save it in UTF-16LE (with BOM), the settings will be saved in the folder C:\Users\(username)\EmEditorSettings.

    
    [IniDir]
    IniDir=%UserProfile%\EmEditorSettings
    

    This method allows all users to share the app while having their own settings, similar to installing EmEditor per computer.

    I wrote about it in my blog: https://www.emeditor.com/emeditor-core/emeditor-v24-2-0-released-gpt-4o-as-default-model-disable-ai-completely-for-admin-favorites-features/

    in reply to: Problems installing latest version #29825
    Yutaka Emura
    Keymaster

    Hello Mark,

    When you uninstall, you will have an opportunity to save the current settings, where you can answer YES to save the current settings. After you install the new version (per-user installation), you will see your old settings. You don’t need to export and import the current settings before you uninstall. Nevertheless, I recommend that you export the current settings to the Registry just in case you need to restore them later.

    in reply to: Problems installing latest version #29822
    Yutaka Emura
    Keymaster

    The performance difference between the desktop installer and portable versions is not significant. The difference primarily stems from reading and writing settings to the INI files versus the Registry. If you use many macros requiring settings changes, then the desktop installer might be better; otherwise, there is not much difference in performance. I would recommend using the INI files if the location of settings is important to you.

    How many searches do you want to save?

    in reply to: Problems installing latest version #29818
    Yutaka Emura
    Keymaster

    You must uninstall the current version of EmEditor if it was installed per-computer. It could have been installed from another user, so please check Windows Settings – Installed Programs.

    However, if you are sure the current installation is per-user, please open **Registry Editor**, locate:

    
    HKEY_LOCAL_MACHINE\Software\EmSoft\EmEditor v3\Common
    

    and delete ModulePath in this key (or delete this whole key).

    The existence of this value determines if the current installation was per-computer.

    in reply to: Modifier key (ctrl alt shift) is / was pressed? #29805
    Yutaka Emura
    Keymaster

    v24.1.901 added the GetKeyState method to the Shell object.

    For example,

    
    bCtrlDown = shell.GetKeyState( 0x11 ) < 0;
    if( bCtrlDown ) {
        alert( "Ctrl key is down" );
    }
    else {
        alert( "Ctrl key is up" );
    }
    
    in reply to: Modifier key (ctrl alt shift) is / was pressed? #29796
    Yutaka Emura
    Keymaster

    I don’t think it is easy to find which keys are pressed at a certain time in macros. I will consider adding a new property or method to retrieve the keys pressed in macros in a future version.

    in reply to: How to use Output Bar Jump #29795
    Yutaka Emura
    Keymaster

    Please go to the Edit page of the Customize dialog, check Specify Tag Format using Regular Expressions, and enter :

    
    ^([\w\\\- \:\.&\$%~!\(\)]*?): line (\d+), col (\d+).*
    

    I noticed there was a bug while highlighting and clicking the hyperlink if the file path or line number contains the column number. I will fix this issue on the next version. If the clicking hyperlink does not work, please press F10.

    in reply to: How to use Output Bar Jump #29790
    Yutaka Emura
    Keymaster

    Hello,

    I am sorry for my late reply. Please select “Tag Links” on the View menu. If you can’t find this command, please go to Search Commands on the Help menu, and search for “Tag Links”.

    You can also press the F10 key to jump to the specified line even if tags are not hyperlinked.

    Thanks,

    in reply to: Active String: Add control modifier #29774
    Yutaka Emura
    Keymaster

    It might take some time, but I will think about this in the future. Meanwhile, you could write a macro to run on this event, and add a condition by the pressed key.

    in reply to: New Computer, transferring Emeditor settings #29720
    Yutaka Emura
    Keymaster

    Please go to the Shortcut page of the Customize dialog, and check Add a shortcut to the Context Menu in Explorer.

    in reply to: New Computer, transferring Emeditor settings #29713
    Yutaka Emura
    Keymaster

    I recommend not to change the install folder. However, if you need to change it, you must install it per computer.

    Please see 21. of the FAQ https://www.emeditor.com/support/

    By default, the Installation Type dialog in the Installer is disabled, and you cannot select the Everybody (all users) option. We recommend accepting the default per-user install because it will be safer and easier to update in the future. However, if you really need to select the Everybody (all users) option while installing EmEditor, you must specify MSIINSTALLPERUSER=”” option in the command line. For instance, if the EmEditor installation file is emed64_21.1.0.msi, you will need to press Win(⊞)+R keys to bring up the Run dialog box, and enter the following command:

    
    msiexec /i "(...path...)emed64_21.1.0.msi" MSIINSTALLPERUSER=""
    
    in reply to: New Computer, transferring Emeditor settings #29709
    Yutaka Emura
    Keymaster
    in reply to: Set a maximum width for CSV columns #29673
    Yutaka Emura
    Keymaster

    This option was added on v23.1.902. Thank you!

    in reply to: Set a maximum width for CSV columns #29669
    Yutaka Emura
    Keymaster

    I will consider adding this feature on the next preview version. Thank you!

    in reply to: Import Syntax button grayed out #29662
    Yutaka Emura
    Keymaster

    In the Display page of configuration properties, select “Comments” in the Specify Part. Select Text Color.

    in reply to: Import Syntax button grayed out #29660
    Yutaka Emura
    Keymaster

    I tried importing bash.esy, and comments like:

    # functions

    should be displayed in green.

    Please make sure the imported configuration is selected, and you should see the configuration name in the status bar. If you named the new configuration “bash”, you should see “bash” in the status bar. If you see “Text”, it means the configuration is not selected.

    If you want the “bash” configuration to be selected when you open a “*.sh” file, you should go to “Associate Configuration” in the Tools menu, click “New” to associate “*.sh” files with the “bash” configuration.

    in reply to: Import Syntax button grayed out #29656
    Yutaka Emura
    Keymaster

    I will make this Import button always enabled on the next version.
    Thank you,

    in reply to: Projects plug-in shows with horizontal scroll bar centred #29653
    Yutaka Emura
    Keymaster

    We’ve just released v23.1.901, which resolves this issue.

    in reply to: add a choice for long text wrap in CSV #29651
    Yutaka Emura
    Keymaster

    It is difficult to wrap a long text in a cell. You can use the Cell toolbar to visualize the long text cell.

    in reply to: Projects plug-in shows with horizontal scroll bar centred #29648
    Yutaka Emura
    Keymaster

    This behavior has not been changed for a long time. However, I’ll fix this on v23.1.901. Thank you.

    in reply to: The newline characters mark display problem #29637
    Yutaka Emura
    Keymaster

    I’ve fixed this issue on v23.0.914. Thank you!

    in reply to: Cannot Open Local Help v23.0.5 #29634
    Yutaka Emura
    Keymaster

    I’ve just released v23.0.913, which sets the Use Web Browser within EmEditor to view Help if available option turned off by default. Hopefully, this will resolve the issue.

    in reply to: Cannot Open Local Help v23.0.5 #29628
    Yutaka Emura
    Keymaster

    I couldn’t reproduce the issue. Before you bookmark the local help, how did you open the Help? Did you select Search Help Topics on the Help menu?

Viewing 25 posts - 1 through 25 (of 3,653 total)