Forum Replies Created

Viewing 25 posts - 226 through 250 (of 3,693 total)
  • Author
    Posts
  • in reply to: This document contains a very long line #27877
    Yutaka Emura
    Keymaster

    This issue should be fixed on v21.2.901. If the issue persists, please email me more details including screenshots, and I will let you know how to send me your sample file. Thank you,

    Yutaka Emura
    Keymaster

    The Default shortcut key can be set in the Snippets Properties, not at each individual snippet properties. Please let me know if this is not your answer.

    in reply to: Please make Select Snippet Selecting from the Active Folder #27875
    Yutaka Emura
    Keymaster

    I am not sure if I understand your question. What is “Select Snippet functionality”?

    in reply to: Creating columns with character counts in tsv format #27874
    Yutaka Emura
    Keymaster

    You can use Replacement Expressions using JavaScript:

    For example,

    replacing

    .*

    with

    \J "\0".length;

    with the Regular Expressions option will replace the strings with their length.

    Please watch:

    https://youtu.be/xWUX37VHrTM

    for more information about Replacement Expressions using JavaScript.

    Alternatively, select the second or righter column, and replacing with

    \J cell( -1 ).length;

    will count the cell on the left.

    Also see: http://www.emeditor.org/en/howto_search_replacement_expression_syntax.html

    Yutaka Emura
    Keymaster

    I am not sure if I understand your question. Can you please simplify your question, and include your expected result? Please write a step-by-step procedure to reproduce the issue. Thank you.

    Yutaka Emura
    Keymaster

    If you would like to count “teddy’s dog” as two words, please add ‘ to the Treat the following characters as alphanumeric text box in the Edit page of the Customize dialog box.

    in reply to: Apology: Pending messages just approved #27871
    Yutaka Emura
    Keymaster

    I realize that only administrators can delete forum messages. If you need to have your messages deleted, please let us know through the Contact Us form, or email us. Thank you.

    in reply to: EmEditor v21.2 beta 7 (21.1.907) #27783
    Yutaka Emura
    Keymaster

    Hello hihihlo,
    Thanks for information. This issue was fixed on v21.1.909 and v21.1.3.

    in reply to: EmEditor v21.2 beta 7 (21.1.907) #27778
    Yutaka Emura
    Keymaster

    I am not sure what you mean by:

    3. now file-tabs toolbar still exist three tabs (include tab “b.txt” !!)

    Can you post or email me a screenshot to explain the issue?

    If you changed settings from the fresh install, please let me know how you changed settings. You can try from a fresh portable version.

    in reply to: EmEditor v21.2 beta 7 (21.1.907) #27769
    Yutaka Emura
    Keymaster

    I am not sure what you mean by

    when close a file/doc, the file-tab-bar (or named file-list / doc-list) still keep that tab !!

    I’ve fixed a similar issue on 21.1.908. Please update to the latest version including beta versions, and try again. Please let me know if the issue still persists.

    in reply to: Merge two files in new file as columns #27766
    Yutaka Emura
    Keymaster

    Hello,

    Are you using the Join CSV command with the Simply Merge (no keys) condition?

    in reply to: Highlight(1); CHM #27749
    Yutaka Emura
    Keymaster

    v21.1.0 reverted the VBScript (for EmEditor) keywords.

    in reply to: KeyboardMap list issues #27748
    Yutaka Emura
    Keymaster

    Issue 1 was fixed on v21.1.0. Thank you.

    in reply to: Access to a CSV format via CSV toolbar menu #27741
    Yutaka Emura
    Keymaster

    This command has never selected the format. It always select the current CSV format if it’s in a CSV mode. I will consider this feature in future versions.

    in reply to: Highlight(1); CHM #27740
    Yutaka Emura
    Keymaster

    VBScript is a case-insensitive language, and I made all case-insensitive keywords as lowercase to optimize the code for speed. I could sacrifice the speed to revert to CamelCase. I will fix 2.

    in reply to: EmEditor v21.1 beta 3 (21.0.903) #27726
    Yutaka Emura
    Keymaster

    This issue will be fixed on v21.0.910. Thank you.

    in reply to: GetUnicodeName: One name per line #27720
    Yutaka Emura
    Keymaster

    The next version will use a semicolon instead of AND as the separator.

    As for your second question, it was confusing in old versions of EmEditor when multiple characters were selected. Newer versions clarified the behavior by NOT showing character codes or unicode names if multiple characters are selected.

    in reply to: EmEditor v21.1 beta 2 (21.0.902) #27716
    Yutaka Emura
    Keymaster

    beta 4 (21.0.904) added the Run Clipboard Macro command.

    in reply to: EmEditor v21.1 beta 3 (21.0.903) #27715
    Yutaka Emura
    Keymaster

    This issue was fixed on beta 4 (21.0.904).

    in reply to: EmEditor v21.1 beta 4 (21.0.904) #27714
    Yutaka Emura
    Keymaster

    Thanks for email. This issue will be fixed on beta 5 (21.0.905).

    in reply to: EmEditor v21.1 beta 4 (21.0.904) #27713
    Yutaka Emura
    Keymaster

    I am sorry. Can you email me a screenshot to explain the issue? Thank you.

    in reply to: Layouts: issues/suggestions #27710
    Yutaka Emura
    Keymaster

    i1: Plug-in Toolbars include the HTML Toolbar. The next beta will fix the issue where the HTML toolbar always became visible when restoring from a layout.

    in reply to: WordComplete: limit the initial number of candidates #27709
    Yutaka Emura
    Keymaster

    The next beta will optimize this for speed. It will populate the candidate list as you scroll down when there are many items.

    in reply to: GetUnicodeName: One name per line #27703
    Yutaka Emura
    Keymaster

    You can iterate through the characters of the string to get the name for each character. The attached script demonstrates how to iterate through characters in ascii strings and Unicode strings.

    var string = 'ab';
    
    // For ascii string
    for (var i = 0; i < string.length; i++) {
    	alert(editor.GetUnicodeName(string.charAt(i)));
    }
    
    // For unicode
    var tmp = '';
    for (var i = 0; i < string.length; i++) {
    	tmp += string.charAt(i);
    	if (!(0xd800 <= string.charCodeAt(i) && string.charCodeAt(i) <= 0xdbff)) {
    		alert(editor.GetUnicodeName(tmp));
    		tmp = '';
    	}
    }
    in reply to: EmEditor v21.0 beta 9 (20.9.909) #27687
    Yutaka Emura
    Keymaster

    v21.1 beta 2 (21.0.902) supports hopefully all those feature requests.

    This version supports Get/Write QWord integers.

    Since JavaScript numbers don’t support 64-bit integers, you will need to use GetProfileString/WriteProfileString, and these methods can now read/write 64-bit integers as hexadecimal strings.

    To write QWord integers, you can write:

    
    nLow = 0x02000183;
    nHigh = 0x00000004;
    s64 = "0x" + nHigh.toString(16) + ("00000000" + nLow.toString(16)).slice(-8);
    editor.WriteProfileString( eeRegCommon, "", "FindFlag", s64, eeRegQWord );
    

    To read QWord integers, you can write:

    
    nHigh = 0;
    nLow = 0;
    s = editor.GetProfileString( eeRegCommon, "", "FindFlag", "0" );
    if( s.length == 18 && s.substr( 0, 2 ) == "0x" ) {
    	nHigh = parseInt( s.substr( 2, 8 ), 16 );
    	nLow = parseInt( s.substr( 10, 8 ), 16 );
    }
    

    I hope this works for you.

Viewing 25 posts - 226 through 250 (of 3,693 total)