Skip to content

A list item appended at the very end of the body still splits in suggesting mode #52

Description

@goce-cz

Follow-up of #41. An appended list item is inserted whole with its own bullet, except when it is the last thing in the body: there is no index to insert at past level.end - 1, so the planner splits the previous item's newline, which in suggesting mode is two suggestions and a blank paragraph in the Doc.

Probe live whether inserting "\nTEXT" as one request at the last index gives one suggestion, and do that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions