Git Product home page Git Product logo

Comments (4)

NerOcrO avatar NerOcrO commented on July 23, 2024

Me too on Ubuntu/ST3 :(

from betterfindbuffer.

simonvizzini avatar simonvizzini commented on July 23, 2024

I'm having the same problem on Windows. I'm no ST3 expert, never wrote a plugin or even coded in Python, but by taking a look at the find_results.py file:

# Some plugins like **Color Highlighter** are forcing their color-scheme to the activated view
# Although, it's something that should be fixed on their side, in the meantime, it's safe to force
# the color shceme on `on_activated_async` event.
class BFBForceColorSchemeCommand(sublime_plugin.EventListener):
    def on_activated_async(self, view):
        syntax = view.settings().get('syntax')
        if syntax and (syntax.endswith("Find Results.hidden-tmLanguage")):
            view.settings().set('color_scheme','Packages/BetterFindBuffer/FindResults.hidden-tmTheme')

If I understand it correctly, this plugin will always apply the color scheme from Packages/BetterFindBuffer/FindResults.hidden-tmTheme as soon as the find window gets activated?

I was only able to change the color scheme by editing the tmTheme file in Packages/BetterFindBuffer/FindResults.hidden-tmTheme but of course that is not a nice solution.

from betterfindbuffer.

NerOcrO avatar NerOcrO commented on July 23, 2024

There is a solution more correct.
Change this line:

if syntax and (syntax.endswith("Find Results.hidden-tmLanguage")):

by

if syntax and (syntax.endswith("Find Results.hidden-tmTheme")):

And follow the documentation!

from betterfindbuffer.

a-dg avatar a-dg commented on July 23, 2024

@NerOcrO This worked great for me! Would you consider submitting a pull request?

from betterfindbuffer.

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.