(Un)indentation

Value

Being able to create hierarchical list structures is a crucial feature in any text editor. Indentation allows editing the structure of an existing list after it has been created, which is a natural way of creating these structures.

Proposed Solution

First, an example of what an indented list item looks like:

it is not possible to indent the first item of a list or sublist e.g.:

In the above, neither item1 or item2 can be indented, but item3 and item4 can be.

It is not possible to unindent an item that is at the highest hierarchical level

In the example from above, this means only item2 can be unindented. Performing unindentation on a top-level item does nothing.

When multiple items are (un)indented at once, prefer unindentation

Again the same example, if we want to operate on 2, 3 and 4 simultaneously, the editor should report first that they are unindentable, and result in a structure where every item is top-level, like so:

Further work with the same items should now report they are indentable, and create a structure as such:

Current Status

As proposed

Last updated