Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable Regex highlighting in Find/Change palette? #10

Open
kapooostin opened this issue Dec 28, 2012 · 5 comments
Open

How to enable Regex highlighting in Find/Change palette? #10

kapooostin opened this issue Dec 28, 2012 · 5 comments

Comments

@kapooostin
Copy link

Standard theme has it but none of custom themes do. Is it possible to enable this feature?

@netatoo
Copy link
Owner

netatoo commented Dec 28, 2012

By Standard theme, you mean the Default.sublime-theme or the Soda theme ?

@kapooostin
Copy link
Author

The Default one.

image

On 29 December 2012 02:58, Simon Martins notifications@github.com wrote:

By Standard theme, you mean the Default.sublime-theme or the Soda theme ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-11743824.

@facelessuser
Copy link

If you want a theme used in your regex input panel, just create a Widget.sublime-settings file in your User folder and add the following line (switching out setting for the theme of your choice; I am using my own custom variation of Tomorrow-Night for mine).

{
    "color_scheme": "Packages/User/Color Scheme/Tomorrow-Night-Eighties-Dark.tmTheme"
}

I don't think sublime properly reads custom theme's widget.sublime-settings files, especially if they are buried in sub folders, but I know sublime seems to read it from my User folder. Just an FYI.

@kapooostin
Copy link
Author

@facelessuser thanks for the direction to look into!

After some research I can say that ST does read settings from custom theme, but Soda theme uses almost empty scheme for widgets and Phoenix just copied this file. User settings do not override this, at least in my installation.

So I hacked a theme widget settings to get code highlighting in Find field.

@facelessuser
Copy link

Cool. User has always worked for me and is nice because I don't have to alter the theme package directly, but it's good to hear you got it working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants