Git Product home page Git Product logo

Comments (11)

pintassilgo avatar pintassilgo commented on August 17, 2024 1

The big and popular Microsoft Visual Studio (from where the name "VSCode" came from) is another example of editor having this feature:
image

I can clearly see the utility of this feature. When you're reading a line, when you reach right edge there's currently no way to know if the line ends there or if it was wrapped. You need to move your eyes left to check lines number bar.

Cuda has the feature to display wrap line indicator, but it comes with the unwanted indicator to all the other normal lines, for which I see no use for so I don't want to enable normal EOL indicator, it's a distraction, a bloat for me.

That's why I'm suggesting a way to display only wrap line indicator, without enabling normal end of line indicator. Just like the two screenshots I posted (Visual Studio and Textadept).

from cudatext.

Alexey-T avatar Alexey-T commented on August 17, 2024 1

It is good argument, thanks, accepted.

from cudatext.

Alexey-T avatar Alexey-T commented on August 17, 2024 1

I prefer the way it is now (next to last char), but some may like the other, as in the Visual Studio screenshot I posted above.

Then maybe let's postpone it until the request.

this mark follows which color theme ui item?

'editor, unprinted chars, font'.

from cudatext.

Alexey-T avatar Alexey-T commented on August 17, 2024 1

Added (will be in next update):

  • add: option "renreder_tweaks" has additional flag to draw wrapped-line-mark at the right edge

from cudatext.

pintassilgo avatar pintassilgo commented on August 17, 2024

It also allows user to define if mark should be fixed at the right side or next to last char. It would be good to be able to choose. I'd probably use next-to-last-char, as in the screenshot above.

from cudatext.

Alexey-T avatar Alexey-T commented on August 17, 2024

Maybe I will consider it, later (weeks/months).

from cudatext.

Alexey-T avatar Alexey-T commented on August 17, 2024

I don't know how much it is needed, probably not much and noone needs it. Only few users of Textadept...

from cudatext.

Alexey-T avatar Alexey-T commented on August 17, 2024

Beta linux-x64-qt5
cudatext.xz.zip

New flag in "unprinted_content" is 'E' == 'show ONLY wrapped-parts marks'. it needs 'e' too. please test.

from cudatext.

pintassilgo avatar pintassilgo commented on August 17, 2024

Looks good to me, thanks!

A possible improvement is allowing user to set if the mark will be fixed at right edge or if it should be next to last char of the line (current).

I prefer the way it is now (next to last char), but some may like the other, as in the Visual Studio screenshot I posted above.

from cudatext.

pintassilgo avatar pintassilgo commented on August 17, 2024

offtopic: this mark follows which color theme ui item? I'd like to change its color.

from cudatext.

pintassilgo avatar pintassilgo commented on August 17, 2024

Thanks!

from cudatext.

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.