Cleanup Selected Lists (or Full Cleanup) Doesn't Work as Expected

Paul Solt's Avatar

Paul Solt

14 Jun, 2018 02:36 PM

When I try to cleanup a numbered list, the Full Cleanup or the "Cleanup Selected Lists" doesn't work properly. It loses text, overwrites text, and messes up newlines, and numbers. (Related Issue #2: toggle list type doesn't work for inner lists)

1. Select sublist (Indented list) or entire document and choose one of the options
2. Choose Menu > Format > Cleanup > "Selected List(s)" or Full Cleanup

Expected
1. The list should be renumbered so it counts 1 to 12, and the sublist should count 1-7

Actual
1. The list is mangled, and there are missing new lines
2. It looks like some text was lost
3. It doesn't cleanup my list, and seems to do some destructive operations

It has never really worked well for me.

#2 Related Bug: Choosing to Toogle List type doesn't work for sublists ... I have to highlight and run the option again for any sublist in a long list.

  1. Support Staff 1 Posted by Fletcher on 17 Jun, 2018 04:30 AM

    Fletcher's Avatar

    Sorry for the delay -- just got back into town and will look into this
    and write more tomorrow (Sunday).

    F-

  2. Support Staff 2 Posted by Fletcher on 18 Jun, 2018 03:05 AM

    Fletcher's Avatar

    Paul,

    1. I don't think you sent me the files you meant to. The text you sent
    has 12 top-level list items, but only 4 sublist items (where the last
    item appears to have some run-on items inside it??). Or perhaps the
    original file was improperly formatted, leading to an unexpected result
    when you ran the full cleanup command??

    2. Working with what you sent, everything seems to work properly,
    whether I select the whole document, part of outer list, part of inner list.

    3. Toggling inner or outer list types works properly.

    Perhaps you can verify the document you sent? And then verify you are
    using a recent version of Composer?

    Fletcher

  3. 3 Posted by Paul Solt on 19 Jun, 2018 12:36 AM

    Paul Solt's Avatar

    1. Is toggle list type suppose to toggle inner lists? when I select everything?
    2. It looks like the "Cleanup List" messed up my formatting in my "cleanup before" ... so it probably doesn't make sense. I guess I didn't catch that. That's one of the bugs ... it did some kind of destructive operation and I lost that original text from the demo file. It was a correctly formatted bullet list, as far as I'm aware.

    I had copy/pasted an excerpt to play around with in my sample file. But I don't have the original in the same state any more to test it.

    I created a video explaining my problem, I'm not sure how to reproduce it. It seems to be when I'm copy/pasting sections and moving/indenting and writing my articles. That I run into situations where I want to switch from bullets to numbers (or vice versa).

    https://www.useloom.com/share/660d56f555b243cc996051dccc90e207
    (Audio might be loud ... not sure why)

  4. Support Staff 4 Posted by Fletcher on 19 Jun, 2018 12:57 AM

    Fletcher's Avatar

    Toggling lists affects the level you selected. If you want to toggle
    multiple levels within a list, you have to do them separately. (I have
    to pick one way or the other, and either will be wrong for some
    purposes. But if sublists are automatically toggled, there is no way to
    just toggle the outer level. So this seems like the "least wrong" way
    to do it. I could theoretically add a "toggle lists and sublists"
    command, but at some point it just leads to a ridiculous UI like
    Microsoft Word...)

    Obviously I can't know for sure without a time machine, but based on
    what I see in the original "before" text you sent, my suspicion is that
    you had incorrect syntax in the inner list items (for example, "7.." and
    "6.6,"). Those would not have been identified as list markers, and
    therefore would be rolled into the preceding paragraph (list item 5 in
    this case). Those would have been unlikely changes to have been created
    by the clean up code based on how it works.

    The only thing I don't immediately understand is why those two areas do
    not have any whitespace in front of them (unless you copied from Word
    which sent non-Mac invisible characters or alternate line break
    characters, perhaps??)

    If you see another problem with it, please Undo the changes and send me
    the original text before clean up so I can look to see what might have
    caused the problem.

    F-

  5. 5 Posted by Paul Solt on 19 Jun, 2018 08:08 PM

    Paul Solt's Avatar

    Thanks for the update on how the feature works!

    I'll try and capture issues the next time I write an article. ... I just posted my blog post, thanks for the great Markdown tool!

    181 iOS Developer and Productivity Tools

    It's over 3500 words plus links. Multimarkdown Composer was great to use to write the initial draft!

  6. Support Staff 6 Posted by Fletcher on 20 Jun, 2018 03:57 PM

    Fletcher's Avatar

    Congrats on completing the post!

  7. Fletcher closed this discussion on 20 Jun, 2018 03:57 PM.

  8. Paul Solt re-opened this discussion on 16 Jul, 2018 04:37 PM

  9. 7 Posted by Paul Solt on 16 Jul, 2018 04:37 PM

    Paul Solt's Avatar

    Ok, I'm in the middle of a new article and I've got my outline/notes, and I'm trying to clean up the lists (fix numbering).

    Video: https://www.useloom.com/share/9a42b664b6904473b8f14806ff5e35c6

    Actual: When I select and try to clean up this list, it destroys my content. I've created a before/after, and I'll include my current work in progress notes.

    Expected: I should see the outer list re-numbered 1-11, but it deletes some of the text, and incorrectly numbers, and puts numbers on ends of lines.

    It looks like the last 2 characters (3 characters with newline) are chopped, is this related to having a number in the lists?

  10. Support Staff 8 Posted by Fletcher on 17 Jul, 2018 01:40 AM

    Fletcher's Avatar

    Thanks for sending me the example. I *can* replicate the behavior this
    time.

    I'll look into *why* as soon as I can -- had a family emergency pop up
    that has thrown my schedule for a loop. But deleting numbers inside the
    list items does not change the behavior, so that's not the problem.

    Thanks again for the sample file!!

    F-

  11. Support Staff 9 Posted by Fletcher on 30 Jul, 2018 09:40 PM

    Fletcher's Avatar

    I found the error, and it looks like this is fixed for the next release.

    Thanks again for the example!!

    Fletcher

  12. Fletcher closed this discussion on 30 Jul, 2018 09:40 PM.

  13. Paul Solt re-opened this discussion on 01 Aug, 2018 01:49 PM

  14. 10 Posted by Paul Solt on 01 Aug, 2018 01:49 PM

    Paul Solt's Avatar

    Thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Cleanup_List_Issues.png 299 KB
  • CleanUp-Before.md 2.21 KB
  • CleanUp-After.md 2.21 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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