Forum Replies Created

Viewing 25 posts - 251 through 275 (of 3,695 total)
  • Author
    Posts
  • 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.

    in reply to: diacritics-insensitive search/filtering #27661
    Yutaka Emura
    Keymaster

    Can you write compelling examples?

    in reply to: The default title of a basic toolbar #27659
    Yutaka Emura
    Keymaster

    I will fix this issue on the next version although it might not be exactly your preference. I wanted the default toolbar have no title. You can customize the toolbar titles as you would like.

    in reply to: Shortcut-key conflict between Snippets and the core #27658
    Yutaka Emura
    Keymaster

    This issue will be fixed on the next version. Thank you.

    in reply to: EmEditor v21.0 beta 9 (20.9.909) #27653
    Yutaka Emura
    Keymaster

    I will consider those feature requests on v21.1. Thank you.

    in reply to: Problems with try icon after upgrading to 20.9.2 #27647
    Yutaka Emura
    Keymaster

    Can you try turning off this Display a tray icon when Windows Starts option first, restart EmEditor, and then turn on this option again?
    Please also check if the EmEditor Tray Icon program is enabled in the Startup page of Task Manager.

    in reply to: Problems with try icon after upgrading to 20.9.2 #27644
    Yutaka Emura
    Keymaster

    You might want to set the Display a tray icon when Windows Starts check box in the Shortcut page of the Customize dialog box.

    in reply to: EmEditor v21.0 beta 2 (20.9.902) #27639
    Yutaka Emura
    Keymaster

    I certainly thought about it, and there are some issues that aren’t easy to explain. I will see what I can do.

    in reply to: EmEditor v21.0 beta 2 (20.9.902) #27636
    Yutaka Emura
    Keymaster

    v21.0 beta 6 (20.9.906) will include the Layouts feature.

    The command line will be:

    /layout “Layout name”

    For instance,

    emeditor.exe /layout “Focus Mode”
    emeditor.exe /layout “Full Screen”

    The Layout name can be customized in the Layouts page of the Customize dialog box.

    in reply to: EmEditor v21.0 beta 4 (20.9.904) #27634
    Yutaka Emura
    Keymaster

    I will fix marker highlighting issues on v20.9.905.

    in reply to: app crash on command join-line via hotkey (ctrl-j) #27616
    Yutaka Emura
    Keymaster

    I’ve just released v21.0 beta 1 (20.9.901). Please try now, and let me know if this works.
    Thanks,

    in reply to: app crash on command join-line via hotkey (ctrl-j) #27614
    Yutaka Emura
    Keymaster

    I remember you have emailed me this issue, and I replied to you, but you didn’t respond to my email. I have fixed it again, so you can check the next version.

    in reply to: outline collapse/expand don’t work #27613
    Yutaka Emura
    Keymaster

    Since you are referring to the popup menu in the Outline Bar, the Outline Guide does not need to be enabled.

    I don’t think there are enough sub items to expand in the Outline Bar.

    If you believe this is a bug, please write or email me a small sample file, your outline settings, and a screenshot to explain the issue.

    in reply to: outline collapse/expand don’t work #27609
    Yutaka Emura
    Keymaster

    Hello,

    Can you please clarify which command you are referring to? Are Outline Guide and Outline Bar enabled?

    in reply to: Shortcut-key conflict between Snippets and the core #27591
    Yutaka Emura
    Keymaster

    I’ve fixed these issue and suggestions on 20.8.906.

    in reply to: EmEditor v20.9 beta 5 (20.8.905) #27590
    Yutaka Emura
    Keymaster

    I’ve also noticed this issue, and it will be fixed on 20.8.906.

    in reply to: Shortcut-key conflict between Snippets and the core #27582
    Yutaka Emura
    Keymaster

    The snippets plug-in item properties should warn you if the keyboard shortcut conflicts with a core command. I am not sure why you didn’t see the warning.

    I’ve fixed your second issue.

    in reply to: Customize: Window: size/position #27561
    Yutaka Emura
    Keymaster

    The Issue 2 will also be fixed on the next version of Help. Thanks,

    in reply to: Customize: Window: size/position #27559
    Yutaka Emura
    Keymaster

    This issue 1. will be fixed on v20.9 beta 1 (20.8.901). Thanks,

    in reply to: Shortcut-key conflict between Snippets and the core #27555
    Yutaka Emura
    Keymaster

    Are you referring to the Snippets plug-in (global) Properties – Keyboard page, or each snippet item properties shortcut?
    The global Properties – Keyboard page should be exactly the same as the Word Complete plug-in Keyboard page.
    I am not sure what you mean by “resolve”. It doesn’t resolve, but it just shows a warning when there is a conflict.

    Yutaka Emura
    Keymaster

    I will fix this issue on the next version.
    Thank you,

    in reply to: How to Find in Binary (Hexadecimal View) easily ? #27514
    Yutaka Emura
    Keymaster

    EmEditor v20.8 beta 11 (20.7.911) addresses this issue.

    Yutaka Emura
    Keymaster

    v20.8 beta 6 (20.7.906) enabled the Find Matching Parenthesis/Bracket (Ctrl+]) and Matching Parenthesis/Bracket Extend (Ctrl+Shift+]) even if the cursor is not exactly at the parenthesis/bracket position. The Highlight Matching Brackets option will always highlight the most inner parentheses/brackets including the cursor position.

    Yutaka Emura
    Keymaster

    Hello,

    While the cursor is at either one of parentheses/brackets, pressing CTRL+SHIFT+] will select all contents in the parentheses/brackets. I will consider allowing this command to work while the cursor is at anywhere in the parentheses/brackets in future versions.

    As for double quotes, there are no keyboard shortcuts, but you can select the contents inside the double quotes with a click of the mouse. To do this, go to Customize on the Tools menu, select the Active String page, select String enclosed by double quotation marks from the Type list, select Left Clicked from the Event list, and set the Select String before Action check box. Also, please go to Configuration Properties, Highlight (2) page, and ensure the Double Quotation Marks check box is set.

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