GithubHelp home page GithubHelp logo

Comments (5)

MrDevel0per avatar MrDevel0per commented on June 10, 2024 1

@ryohajika Got it - seems like there might be some errors with the CodeEditTextView's undo features. Good find!

from codeeditsourceeditor.

thecoolwinter avatar thecoolwinter commented on June 10, 2024 1

I've got a fix for this ready. Waiting for a PR on STTextView to merge and this'll be fixed ๐Ÿ‘

from codeeditsourceeditor.

MrDevel0per avatar MrDevel0per commented on June 10, 2024

So the basic error here is that when you make changes that add newlines and then undo those changes with โŒ˜+Z, the newlines you created are not removed? Is that correct?

from codeeditsourceeditor.

ryohajika avatar ryohajika commented on June 10, 2024

Hi @MrDevel0per ! This involves few errors: 1) although the lines/words you edit can be disappeared by Cmd+Z, newlines (blank lines) will still remain in the text, 2) while you perform multiple Cmd+Z, you see the editor modifies other lines randomly (like @main became @man, struct became strct in the screenshots I attached), 3) the cursor jumps around.

from codeeditsourceeditor.

ryohajika avatar ryohajika commented on June 10, 2024

Cool @MrDevel0per ! Let me know if there's anything I could help - apart from sending a PR on this ๐Ÿ˜‚

from codeeditsourceeditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.