Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #23251

    LTT
    Participant

    Issue 1:
    Select a string in the line.
    Use “Increase/Decrease Line Indent” commands.
    ** The selection should not change. It should differ from pressing Tab/Shift+Tab.

    Issue 2:
    Enable “Auto Indent”.
    Indent the EOF line.
    Use “Duplicate Line” command in the EOF line.
    ** The indents increased in the duplicated lines.

    #23268

    Yutaka Emura
    Keymaster

    Issue 1: We changed the behavior of Line Indent-related commands par your comment on the next beta. This change also applies to Tab/Shift+Tab commands. Please let us know if anyone believes this change should be an option.

    Issue 2: We fixed this issue on the next beta.

    Thanks,

    #25455

    LTT
    Participant

    A:
    Need a simple way to insert tabs in empty lines.
    (But I think it’s not proper to make “Increase/Decrease Line Indent” commands differ from Tab/Shift+Tab in this case.)

    Currently I have to use these steps:
    Select the lines.
    Use “Select Beginning of Lines” command.
    Type a character.
    Undo.
    Type Tab key.

    —————
    B:
    Select a non-empty line and an empty (non-EOF) line below it.
    Indent the selection.
    Undo.
    ** The undone result is not correct.

    —————
    C:
    Since the 4 commands below also handle multiple selections, I think “Line” in their names is not proper/necessary:
    Increase Line Indent
    Decrease Line Indent
    Tab or Increase Line Indent
    Tab Left or Decrease Line Indent

    #25462

    LTT
    Participant

    The C above is not correct. Please ignore it.

    —————
    Suggestion 1:
    In some editors (e.g. UltraEdit, Notepad3), an auto-indent is added in 2 steps (the newline character, then the indent). Thus it can be undone in 2 steps.
    So when I add a new line but don’t want to indent it, I just press Enter key and then Ctrl+Z.
    This is really convenient, since an indent is often not just a single character.

    —————
    Suggestion 2:
    Select some indented lines.
    Use “Select Ending of Lines” command.
    Press Enter key.
    How about indenting all the new lines (but in the manner mentioned in Suggestion 1)?

    —————
    BTW,
    “Indent Column” in “All Commands” menu needs an “s”.

    #25479

    LTT
    Participant

    D:
    Wrap by Window.
    Enable “Wrap Indent”.
    Add a long line so it wraps.
    Indent the line.
    ** Its wrapped lines don’t show the indent gaps.
    ** While cursor position(s) in its wrapped lines obey “Wrap Indent”.

    #25487

    Yutaka Emura
    Keymaster

    Hello LTT,

    A. One way to insert tabs in empty lines is, make a vertical selection (CTRL + ALT + Up/Down arrow) where you want to insert tabs, and press TAB.

    I will fix issues B and D on the next version.

    Thanks,

    #25663

    LTT
    Participant

    Your way doesn’t work for me.

    If the lines are all empty, I have to:
    Make a vertical selection.
    Type any character instead of Tab.
    Undo.
    Type Tab.

    If the lines are not all empty, I have to:
    Make a vertical selection.
    Type any character instead of Tab.
    Type Tab.
    Type Backspace (to delete the character).

    (The way mentioned in A works for either case.)

    —————
    E:
    Ctrl+click to make 2 or more points in the same line.
    Use “Increase Line Indent” command.
    ** The selection positions from the 2nd one are not correct.

    —————
    About Issue 1:
    I still suggest that it would be better if Tab/Shift+Tab could differ from the “Increase/Decrease Line Indent” commands.

    Before the change you made for issue 1, one can do this:
    Select lines partially.
    Type Tab (and Ctrl+Z).
    Now the lines are selected entirely.

    This is a quick way to select lines, especially when the lines are long and/or wrapped, and/or one is not willing to operate on the left edge, etc.
    The difference extends the use.

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

You must be logged in to reply to this topic.