Giter Club home page Giter Club logo

Comments (6)

dschuyler avatar dschuyler commented on August 25, 2024

I agree that that what get's done or undone as a unit could be improved. This is an area where it seems to help to try out ideas. I.e. I'd suggest trying a change for a bit to see if you like it. I've done that a couple times and found that some idea I had caused other consequences I didn't like. That's not a critique of your suggestion. I think it sounds like a good idea, but I can't be sure until trying it for awhile. Does that make sense?

from ci_edit.

dschuyler avatar dschuyler commented on August 25, 2024

If you want to make a PR, I'm happy to pull it in locally and try it out :)

from ci_edit.

aaxu avatar aaxu commented on August 25, 2024

Oh yeah for sure! I'll work on it. The current thing is that right now, carriage returns are always followed by a cursor move, so some if statements are never actually used and carriage returns are also never combined. I'm gonna try and clean this up a bit.

One question: Is there a particular reason why the redoAddChange for carriage returns is a tuple of 1 element?

from ci_edit.

dschuyler avatar dschuyler commented on August 25, 2024

This seems good to me. I've been running with the patch (PR) for awhile.

On the carriage returns tuple. IIRC, it's just that was one of the first things I did when I started writing the editor. I think I was making all redo records hold a tuple. I.e. there's a reason, but not necessarily a good reason. :)

from ci_edit.

dschuyler avatar dschuyler commented on August 25, 2024

Oh and is this enhancement ready to be closed?

from ci_edit.

aaxu avatar aaxu commented on August 25, 2024

Yeah I think it's finished so close away!

Edit: oh I can close it too LOL

from ci_edit.

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.