Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] tabstop in bullet lists #177

Closed
CircleCode opened this issue Apr 17, 2014 · 4 comments · Fixed by #607
Closed

[ENH] tabstop in bullet lists #177

CircleCode opened this issue Apr 17, 2014 · 4 comments · Fixed by #607
Labels
C: lists Category: ordered or unordered lists enhancement

Comments

@CircleCode
Copy link

when writing bullet lists, the first use of shoud move the cursor to the next tabstop and then the next use would decrease the bullet level.

say, for example, I have (| represents the cursor)

- |

after first tab, I want

-   |

and after next tab

    +   |

the current behavior is
say, for example, I have (| represents the cursor)

- |

after first tab, I have

    + |
@felixhao28
Copy link
Contributor

@CircleCode What's wrong with the current behavior?

@CircleCode
Copy link
Author

@felixhao28 I will explain with my use case, which is pretty common I think.
I want text to start at column 0, 4, 8… so that a multi line block is homogeneous.
this gives:

-   first line
    second line of same block

With current behavior, I can't use tab to start first line at column 4 becaus it would move the bullet char rather that the cursor, s I have to use space several time to align text, which is neither convenient nor semantically correct (even if the result is the same).
I'd expect ME to support something like tab stops.

@felixhao28
Copy link
Contributor

But you only need to adjust the spaces once per list, the indent is kept when you press Enter or Shift+Enter. Are you saying indenting the first line is tedious?

@deathaxe deathaxe added enhancement C: lists Category: ordered or unordered lists labels May 14, 2021
@deathaxe deathaxe mentioned this issue May 17, 2021
@deathaxe
Copy link
Member

The solution in 3.0.0 looks as follows:

Hitting tab key after bullet was typed, automatically inserts enough spaces to place caret to next tab level.

  1. Enter *

    *|*
    
  2. Enter tab

    *   |
    
  3. Enter tab again

        +   |
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: lists Category: ordered or unordered lists enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants