List marker

loukas's Avatar


24 Jan, 2018 09:31 AM

Hi Fletcher, it is ok that a new line of list is automatically formatted with a list marker, but usually I find a trouble when I paste a line already starting with a list marker, so the result is a couple of list marker at the beginning and I've to delete one of them. For example:
- item 1
-- item 2 (because I've pasted "- item 2")
Can you code that a pasted list marker substitutes the previous list marker?

  1. Support Staff 1 Posted by Fletcher on 24 Jan, 2018 01:13 PM

    Fletcher's Avatar

    That's probably getting too much into trying to predict what a user is
    thinking, which is tough to do correctly. My general preference is to
    assume that the user knows what they are doing and to do it. ;)

    If you hit enter again, the existing list marker disappears, and you can
    paste whatever you like:

    - item 1 (enter)
    - |

    hit enter again:

    - item 1


    - item 1
    - item 2 (pasted)


  2. 2 Posted by loukas on 24 Jan, 2018 01:31 PM

    loukas's Avatar

    That's fine!

  3. Support Staff 3 Posted by Fletcher on 24 Jan, 2018 01:44 PM

    Fletcher's Avatar

    (Also, if you end up pasting different list markers, the list clean up
    commands can fix things for you. But you probably knew that already. :)


  4. 4 Posted by loukas on 25 Jan, 2018 04:18 PM

    loukas's Avatar

    Sure, I'm using MMComposer 4 since it was a beta :)

  5. Fletcher closed this discussion on 08 Feb, 2018 02:35 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac