Forum Replies Created

Viewing 25 posts - 3,626 through 3,650 (of 3,699 total)
  • Author
    Posts
  • in reply to: Real Snippets (like in TextMate) #4012
    Yutaka Emura
    Keymaster

    In that case, you might want to try Auto Complete plug-in.

    in reply to: Add a Lock icon for a readonly file in Tabs #4010
    Yutaka Emura
    Keymaster

    I have also received that request before. I might consider it. Thanks!

    in reply to: How about a column marker? #4009
    Yutaka Emura
    Keymaster

    You can see the border by changing the background color of Outside of regions. Go to Properties, select Display, and select Outside of regions in the Specify Part list, click Background Color, and select a different color such as gray.

    Column mode can be triggered by CTRL + SHIFT + F8 although the behavior may be somewhat different from other editors.

    in reply to: Delete between bookmarks #4006
    Yutaka Emura
    Keymaster

    You can use the following macros (JavaScript):


    // Delete lines between bookmarks
    bSuccess = false;
    if( document.selection.NextBookmark() ){
    y1 = document.selection.GetActivePointY( eePosLogical );
    if( document.selection.NextBookmark() ){
    y2 = document.selection.GetActivePointY( eePosLogical );
    document.selection.SetActivePoint( eePosLogical, 1, y1, false );
    document.selection.SetActivePoint( eePosLogical, 1, y2, true );
    document.selection.Delete(1);
    bSuccess = true;
    }
    }
    if( !bSuccess ){
    alert( "Cannot find bookmarks. The cursor position must be above both bookmarks before you run this macro." )
    }

    // Copy lines between bookmarks
    bSuccess = false;
    if( document.selection.NextBookmark() ){
    y1 = document.selection.GetActivePointY( eePosLogical );
    if( document.selection.NextBookmark() ){
    y2 = document.selection.GetActivePointY( eePosLogical );
    document.selection.SetActivePoint( eePosLogical, 1, y1, false );
    document.selection.SetActivePoint( eePosLogical, 1, y2, true );
    document.selection.Copy( eeCopyUnicode );
    bSuccess = true;
    }
    }
    if( !bSuccess ){
    alert( "Cannot find bookmarks. The cursor position must be above both bookmarks before you run this macro." )
    }

    // Cut lines between bookmarks
    bSuccess = false;
    if( document.selection.NextBookmark() ){
    y1 = document.selection.GetActivePointY( eePosLogical );
    if( document.selection.NextBookmark() ){
    y2 = document.selection.GetActivePointY( eePosLogical );
    document.selection.SetActivePoint( eePosLogical, 1, y1, false );
    document.selection.SetActivePoint( eePosLogical, 1, y2, true );
    document.selection.Cut();
    bSuccess = true;
    }
    }
    if( !bSuccess ){
    alert( "Cannot find bookmarks. The cursor position must be above both bookmarks before you run this macro." )
    }

    in reply to: Selecting text with ctrl+shift #4002
    Yutaka Emura
    Keymaster

    It is not possible unless you write a macro and assign that macro to CTRL+SHIFT+Right or Left.

    in reply to: How about a column marker? #4001
    Yutaka Emura
    Keymaster

    I am not sure what you mean by column maker. You should explain more in details or draw a picture.

    in reply to: button "Save as" #3997
    Yutaka Emura
    Keymaster

    This is a JavaScript macro to permanently delete and close the current document. I don’t know how to move a file to the Recycle Bin.


    if( document.FullName != '' ){
    sPath = document.FullName;
    if( confirm( "Are you sure you want to delete " + sPath + "?" ) ){
    fso = new ActiveXObject( "Scripting.FileSystemObject" );
    fso.DeleteFile( sPath );
    document.close();
    }
    }

    in reply to: button "Save as" #3996
    Yutaka Emura
    Keymaster

    In future versions, you will be able to add the Save As button. In future, when a macro can be configured with a toolbar button with a favorite icon, you can assign any command to a toolbar button.

    in reply to: Explorer type file tree disappeared from the left #3995
    Yutaka Emura
    Keymaster

    Which text do you want to change? Explorer tree items?
    Explorer tree color cannot be changed. It uses the Windows default color scheme. Or if you want to change text color in the document window, you can set from the Properties – Display tab.

    in reply to: Bug – Encodings – Detect All #3994
    Yutaka Emura
    Keymaster

    Actually it was a specification, but I will try to correct this behavior. Thanks!

    in reply to: Code "Folding" Support #3988
    Yutaka Emura
    Keymaster

    Please try the latest version, please…

    in reply to: Real Snippets (like in TextMate) #3987
    Yutaka Emura
    Keymaster

    You might want to try Auto complete macro using similar word in document, which does exactly what you would expect. You can customize the keyboard so CTRL + Space will run this macro.

    in reply to: Support Email Sending #3984
    Yutaka Emura
    Keymaster

    There are many ways to do using macros, but you will need some kind of SMTP available to use. If you use Outlook, you can use a macro you can find at http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=8&lid=168

    in reply to: AutoComplete source #3981
    Yutaka Emura
    Keymaster

    Sometimes, etlframe updates break some old code.
    Try adjusting the parameters so they will match the newer version of etlframe.h. I will try to update all source code when I have a time.

    In this case,

    OnEvents in AutoComplete.h should be:

    void OnEvents( HWND hwndView, UINT nEvent, LPARAM )

    Also, change SetUninstall to

    BOOL SetUninstall( HWND hDlg, LPTSTR, LPTSTR )
    in reply to: Real Snippets (like in TextMate) #3979
    Yutaka Emura
    Keymaster

    Have you tried some auto-complete macros or plug-ins? Some are available in this web site – Library.

    in reply to: Explorer type file tree disappeared from the left #3978
    Yutaka Emura
    Keymaster

    Click Explorer button on the Plug-ins Bar, or select Plug-ins on the Tools menu, and select Explorer.

    in reply to: characters get "cut off" at the end of tags #3974
    Yutaka Emura
    Keymaster

    You probably have selected “Clear Type” in Display Properties – Apearance tab – Effects. I will try to fix this. Thanks!

    in reply to: Code "Folding" Support #3969
    Yutaka Emura
    Keymaster

    You can customize on/off per configuration. Did you go to the plug-in properties? You can right-click on the Outline button or window, and select “Properties”.

    in reply to: Macro Function "Libraries" #3966
    Yutaka Emura
    Keymaster

    You can write functions in VBScript or JavaScript, but I am not sure if you can write functions in separate files so you can include those.

    in reply to: Triple click to select line #3965
    Yutaka Emura
    Keymaster

    Sure.

    in reply to: Code "Folding" Support #3964
    Yutaka Emura
    Keymaster

    Did you try Outline plug-in? Did you want something different?

    in reply to: suggestion for Special Copy #3960
    Yutaka Emura
    Keymaster

    I don’t want to make it a core feature because of my principle — avoid bloated feature set —.

    However, I created a macro for you. Although it is not perfect, you can do the rest of work to make it perfect for you. This is for Java.


    str = clipboardData.getData("Text");
    str = """ + str.replace(/rn/mg,"n" +rn"") + "";";
    document.write( str );
    in reply to: File association keeps getting broken #3959
    Yutaka Emura
    Keymaster

    Thank you for reporting a possible bug. I will try to repro and fix this issue.

    in reply to: Making EmEditor USB stick friendly? #3955
    Yutaka Emura
    Keymaster

    While I cannot make any commitments and cannot give you any timeline, I consider the USB option seriously. However, it will not happen in a few months.

    in reply to: button or keyboard/mouse shortcut to run a macro #3951
    Yutaka Emura
    Keymaster

    You can go to Keyboard map on the Help menu, and assign any keyboard to any macros.

Viewing 25 posts - 3,626 through 3,650 (of 3,699 total)