Giter VIP home page Giter VIP logo

Comments (5)

penge avatar penge commented on September 27, 2024

Thank you @anddam for the suggestion.
It is something we could definitely have for the plaintext notes (coming soon) as they would be much easier to work with (compared to the html notes) because having regular line breaks. Moving lines would be easy to have there. The only complicated thing (in terms of implementation, just to clarify things) would be identifying what line you are currently at (cursor position) before moving it.

from my-notes.

anddam avatar anddam commented on September 27, 2024

The only complicated thing would be finding out (and keep track of) what line you are currently at, either you got to one with a keyboard, or clicked with a mouse.

I am not sure to understand that part.

I'll have a look at "move lines" for the html notes as well and see how that goes.

Is this something that someone editing rich text (or HTML) is even interested in?

from my-notes.

penge avatar penge commented on September 27, 2024

Logic for moving a line would be easy. Finding which line to move actually, based on your cursor position, would be just a bit harder than actual moving, relatively speaking. Just thinking out loud.

Anyway, we can definitely have this feature. I agree having it for plaintext notes, would be enough.

from my-notes.

penge avatar penge commented on September 27, 2024

Closing for now as I don't know how this would fit (at the moment, can revisit). By having this feature, we would lose default behaviour of these shortcuts or, switching between one or other behaviour seems too much. Need to think about this.

from my-notes.

anddam avatar anddam commented on September 27, 2024

I'll have a try at a PR proposal after raw mode gets out.

from my-notes.

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.