Forum Replies Created

Viewing 25 posts - 476 through 500 (of 3,693 total)
  • Author
    Posts
  • in reply to: CSV: SeparatedValues #26370
    Yutaka Emura
    Keymaster

    v19.4.0 beta 1 (v19.3.91) enhances the macros related to CSV definitions.
    You can create a temporary CSV format like this:

    
    csvlist = editor.CsvList;
    count = csvlist.Count;
    
    if( count > 64 ) {
    	alert( "Too many CSV formats defined. Please remove one CSV format to continue." );
    	Quit();
    }
    
    csvlist.Add( "Temporary for macros", "," );  // add a temporary CSV to the list
    count = csvlist.Count;
    
    csv = csvlist.Item( count );  // retrieve the last (temporary) CSV
    
    csv.EnableTitle = true;  // set optional properties as needed
    csv.Title = "Temporary";
    csv.AllowDelimiter = false;
    csv.AllowNL = false;
    csv.Escape = true;
    csv.Heading = 3;
    csv.MaxDetectLines = 30;
    csv.MinDetectDelimiter = 2;
    csv.FirstDetectLine = 2;
    csv.LinesCell = 9000;
    
    editor.CsvList = csvlist;  // save the changes
    
    EEID_SV_MODE = 22528;
    editor.ExecuteCommandByID(EEID_SV_MODE + count - 1);   // temporary CSV mode
    
    // .... do something
    
    EEID_MODE_NORMAL = 4472;
    editor.ExecuteCommandByID(EEID_MODE_NORMAL);   // back to normal mode
    
    csvlist.Remove( count );  // remove the temporary CSV mode when finished using it
    editor.CsvList = csvlist;  // save the changes
    

    The number of CSV formats you can define was increased to 64 from 8, but only the first 8 CSV formats can be detected automatically when opening a document.

    I can still tweak macros if you let me know before the official release of v19.4, so please let me know if you have any comments.

    Thanks,

    in reply to: Name document without saving #26342
    Yutaka Emura
    Keymaster

    Hello jic and Deipotent,
    The next version of EmEditor will allow you to rename an untitled document without saving it.
    Thank you for reminding me!

    in reply to: Allow to rename tabs #26341
    Yutaka Emura
    Keymaster

    Hello jic,

    The next version of EmEditor will allow you to rename an untitled document without saving it.
    Thank you for reminding me!

    in reply to: Question of Funtion "Grab Text" #26268
    Yutaka Emura
    Keymaster

    If text box is NOT one of the Windows standard text controls, this feature doesn’t work. Since Chrome and a few other apps don’t use standard text controls, they don’t work as expected. I know Internet Explorer 11 and some other apps will work. If it doesn’t work on IE 11, can you make sure you set a keyboard shortcut (in your case Ctrl+Alt+Z) in the Shortcut Key to Grab Text with EmEditor text box of the Customize Tray Icon dialog box? It might not work on all sites. Please try a different site, for instance, this forum text box. The keyboard focus must be set within the text box when you press the shortcut key.

    Thanks,

    in reply to: 19.3.1 x64 – Text shifting with arrow keys no longer works #26265
    Yutaka Emura
    Keymaster

    These issues were fixed on v19.3.2.
    Thank you!

    in reply to: 19.3.1 x64 – Text shifting with arrow keys no longer works #26262
    Yutaka Emura
    Keymaster

    Hi tuska,

    I am not sure what you mean by “If I move EmEditor to the systray with ESC and then open it with a double click, there is only 1 tab page left.”. By default, EmEditor will not minimize with the ESC key unless you change the default shortcut keys.

    In the Customize dialog box – Shortcut page, any of these options set?
    “Display a tray icon to the task bar”
    “EmEditor Quick Start”

    In the Customize dialog box – Workspace page, what is selected for the Automatic Workspace drop-down list box?

    Can you export your settings to registry (Tools menu, Import and Export, and select “Export all settings into a registry file”), and zip all the files including AppData subfolder, and email it to tech @ emurasoft?

    I am not sure how you can upload images in this forum, but you can paste a link to an image at an external website.

    Thank you,

    in reply to: 19.3.1 x64 – Text shifting with arrow keys no longer works #26260
    Yutaka Emura
    Keymaster

    The Move Line Up/Down commands will be fixed on the next version.
    As for the issue that two tabs are always opened, can you write more detailed procedure to reproduce the issue? Which Automatic Workspace option is selected (Customize – Workspace)?

    Yutaka Emura
    Keymaster

    Hello,

    As for JavaScript for EmEditor, you can refer to:

    http://www.emeditor.org/en/macro_index.html

    Same for Python scripts.

    However, for basic JavaScript or other languages, you will need to refer to other websites such as

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

    https://www.w3schools.com/jsref/jsref_reference.asp

    Thanks,

    in reply to: Start Window #26255
    Yutaka Emura
    Keymaster

    1. was fixed on v19.3.1. Thank you!

    in reply to: Bookmarks removal after renaming/moving of a textfile #26241
    Yutaka Emura
    Keymaster

    Hello,

    Is the “Save Cursor Position and Bookmarks” option in the History page of the Customize dialog box set?

    1. I am not sure if I understand your question. Copy a file from which folder to which folder? Can you please write a simple step-by-step to reproduce the issue?

    2. If the name of a file was renamed outside of EmEditor, EmEditor will not be able to see the changes.

    in reply to: CSV: SeparatedValues #26239
    Yutaka Emura
    Keymaster

    I will seriously think about that in future versions.
    Thank you.

    in reply to: CSV #26238
    Yutaka Emura
    Keymaster

    Hello LTT,
    I will address these issue on the next version.
    Thank you,

    in reply to: Start Window #26224
    Yutaka Emura
    Keymaster

    Suggestion 1:
    Hope the pinned items can be distinguished by color.
    Or at least a separator is needed.

    v19.3 beta 3 (19.2.93) includes a separator between pinned items and non-pinned items in the Start window.

    Thank you!

    Yutaka Emura
    Keymaster

    Please send me a sample file (as simple as possible) so that I can reproduce the issue. You can zip the sample file, and email me at tech @ emurasoft.com.
    Thank you,

    in reply to: “Narrowing” function is only for one selection? #26174
    Yutaka Emura
    Keymaster

    “Multiple Selection Narrowing” does not exist.

    in reply to: Suggest to change the behavior of "view->marks" #26173
    Yutaka Emura
    Keymaster

    v19.2 beta 2 (19.1.92) addressed this issue.
    Indent Guides will also be unchanged by the All Marks command.
    I also added the All Marks button to the toolbar, which looks same as the current “Marks” button, but meaning “All Marks”.
    Thank you!

    in reply to: Suggest to change the behavior of "view->marks" #26164
    Yutaka Emura
    Keymaster

    v19.1.91 includes the “All Marks” command. You can find it on the View menu if it’s still the default, or you can find it in Quick Launch (or Keyboard Map) window. Thanks!

    in reply to: Jump function in output bar #26161
    Yutaka Emura
    Keymaster

    Hello David,
    The Jump, Jump Next, and Jump Previous commands are available only if file names and line numbers are displayed in the Output window. In the Extract Options (click ▼ on the right side of Extract button), and select Display File Names and Lines.

    in reply to: Find in files for Binary (ASCII View) files #26155
    Yutaka Emura
    Keymaster

    The next version will include the “Save Settings” check box, where you can save the preferred encoding.
    Thank you,

    in reply to: Question regarding customizing toolbar #26148
    Yutaka Emura
    Keymaster

    You can write or record a macro, and then add the macro to the toolbar.
    For instance, for Edit > Move Cursor Horizontally > Find Matching Parenthesis/Bracket, you can write:

    document.selection.GoToBrace(false);

    then you can add this macro to the main toolbar.

    in reply to: msg: Inconsistent number of columns detected #26147
    Yutaka Emura
    Keymaster

    Please make sure that Tab-separated CSV definition includes “Allow delimiters in double quotes” and “Allow newlines in double quotes” options enabled. These options are disabled for Tab-separated by default.
    After I enabled these options, I couldn’t reproduce the issue anymore.
    Thank you,

    in reply to: JavaScript in replacement of Regular Expression #26146
    Yutaka Emura
    Keymaster

    Hello David,

    You can use any JavaScript String methods. “\0” is considered a String. Left and Right are not JavaScript, but you can use any other JavaScript methods here. Please refer to JavaScript string methods:

    https://www.w3schools.com/jsref/jsref_obj_string.asp

    in reply to: JavaScript in replacement of Regular Expression #26141
    Yutaka Emura
    Keymaster

    It should be written as:

    \J "\0".substr( 0, 5 )

    We will fix the Help.

    You can use any JavaScript script here. For instance:

    \J var d = new Date(); d.getFullYear() + "-" + ( d.getMonth()+1 ).toString() + "-" + d.getDate();

    Thank you,

    in reply to: DirectWrite #26122
    Yutaka Emura
    Keymaster

    The official release of v19.1.0 added code to address this issue on Windows 7. Please let me know if this changes any behavior.
    Thank you!

    Yutaka Emura
    Keymaster

    The next version supports named capturing group by using this form: (?<name>expression) and named backreference by using this form: \k<name>.
    Thank you!

Viewing 25 posts - 476 through 500 (of 3,693 total)