Giter Site home page Giter Site logo

Comments (9)

Alexey-T avatar Alexey-T commented on June 11, 2024

Can you test your fix, and make the patch?

from cudatext.

Alexey-T avatar Alexey-T commented on June 11, 2024

I am working on it, don't do it

from cudatext.

pintassilgo avatar pintassilgo commented on June 11, 2024

It works, but I'm not Python dev so improvements should be done, like caching item_oth out of the function to prevent having to process theme.get(opt.THEME_OTHER) every match.

Also, I couldn't make underline to work.

from cudatext.

pintassilgo avatar pintassilgo commented on June 11, 2024

I played with "Lexer style" dialog and it's working: bold, italic, strikeout, borders in the 4 directions separately... but checking "underline" doesn't work.

from cudatext.

Alexey-T avatar Alexey-T commented on June 11, 2024

I made fix in the plugin's git. please test from git. https://github.com/CudaText-addons/cuda_hilite_occurrences/

from cudatext.

Alexey-T avatar Alexey-T commented on June 11, 2024

Underline-font style from theme props dialog cannot be used. Py API don't allow it. and underliying atsynedit API also does not.

from cudatext.

Alexey-T avatar Alexey-T commented on June 11, 2024

Posted more changes to git.

from cudatext.

pintassilgo avatar pintassilgo commented on June 11, 2024

Thanks.

Underline-font style from theme props dialog cannot be used. Py API don't allow it. and underliying atsynedit API also does not.

So, after all, underline is not the same as border bottom, right?

from cudatext.

Alexey-T avatar Alexey-T commented on June 11, 2024

it is not the same maybe, but the look of bottom-line is the same, so to emulate underline, just set the bottom-line.

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.