Skip to content

Capitalizing breaks undo #35

Description

@woollybah

The code in highlightBlock() which applies capitalization to words breaks undo functionality.

You can test this by creating a blank document, tying 'super', then return a few times.
Then try to undo back to the start. You will notice that the cursor gets "stuck" in the word "Super".

I'm not sure highlightBlock() is a good place to be modifying text anyway. Perhaps it should be part of :

  1. the autocomplete
  2. the autoformat

:o)

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions