Hanging indent issue

  • Hi,

    version 5.58

    Having an issue with hanging indents.

    If I set the IndentLeft to some value and the IndentFirst to -IndentLeft, then press TAB, it inserts a tab and moves the cursor to the Indentleft position as it should. Typed text starts at the IndentLeft and wraps fine.

    If I set the same indent values, then starting at the left, type in some text, then press TAB, it does not move to the IndentLeft position, only one tab stop. If I continue typing until the line starts to wrap, then the text after the tab moves over to the IndentLeft position, like it should.

    Setting FormatOptions to include wpfHangingIndentWithTab did not make any difference.


    Bill

  • Here's how to reproduce what I'm seeing.

    1. Set the IndentLeft to 2880
    2. Put the cursor to the left edge
    3. Type: DIAGNOSIS:
    4. Press TAB
    5. Cursor should move to left indent, but does not.
    6. If you type text, it does not line up with the left indent, until you press Enter.

    FYI: I noticed that after you press TAB, the distance from the tab to the left indent is exactly equal to the width of the initial text (e.g. the width of DIAGNOSIS:").

    Bill