Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7984

    chenfan
    Member

    First:
    Custom ENTER
    I wrote a macro, the main function is that when the cursor to the bottom of the screen, then enter a new sentence, it can automatically scroll to the top of the screen, I wanted to customize the enter key as its shortcut key, but the keyboard maps, you can not customize the Enter key.
    Macro is as follows:
    document.selection.NewLine(1);
    document.selection.Text=” “;
    document.selection.DeleteLeft(1);
    curline = document.selection.GetActivePointY(eePosView);
    editor.ExecuteCommandByID(4292);
    topline = document.selection.GetActivePointY(eePosView);
    editor.ExecuteCommandByID(4293);
    botline = document.selection.GetActivePointY(eePosView);
    editor.ExecuteCommandByID(4345);
    n = botline – topline
    if ( botline < n + 2 ) Quit();
    if ( curline == botline )
    { for (i = 1; i < = n - 1; i++)
    {
    editor.ExecuteCommandByID(4171);
    }
    }
    Is there any way to customize the Enter key? Or, there are other ways to achieve what I want to feature? (Have checked “Always Enable 1 Page Vertical Scroll check box”)
    Second:
    A bug?
    Wrap-Not Allowed at Line Head text box:”。” And “” “
    When they separate when a show is correct.However, if they are combined together, but exactly when the wrap,”””at the beginning of new lines.

    #7988

    Yutaka Emura
    Keymaster

    1) Unfortunately, you can’t customze the ENTER key.

    2) When two of these characters are combined, these characters are NOT wrapped correctly. This is the current specification.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.