-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Regexp groups in find/replace text field obscured by highlighting #39
Comments
Thanks for your report, I'll take a look at it as soon as possible. |
Here's as detailed a replication report as I can make. Steps: Expected: Actual: |
Thanks for your detailed feedback, this will be fixed as soon as I've finished the refactoring of my previous theme packages and also got notified about this by another user as seen by the cross-repository reference marker above. |
@gertsonderby I was able to reproduce this, but its a bit tricky to fix this due to the fact that the highlighting depends on the selected syntax theme. The regexp pattern inherits the CSS rules defined by the current syntax theme which is the javaScript It is possible to set the text color for the focused input to the default dark color, but this will remove all other syntax highlighting colors of this pattern e.g. if the current syntax theme uses a red color for braces. I added an theme setting in #43 to use a darker form-focusing effect which can help to avoid this bug too. Anyway, I'll add the dark text workaround described above and you can decide whether you want to use the new theme setting to have colored syntax highlighting for regexp searchs too. |
Released in 📦 version 0.8.0 |
When typing in a regular expression in the find dialog, I encounter an unhappy interaction between Nord theme and Nord syntax - The plain-text contents of group matches (e.g. 'Le' in
Who (Le)* Foo
) are syntax highlighted white, and the background of the active search field is white. Hence the text is invisible. Selecting the text makes it visible again by virtue of the light grey selection highlight, but it does cause a small bit of irritation every now and then.I'm not sure what the best solution here might be - a modification of the syntax highlighting when in a dialog field? A different focus highlight color for these fields?
The text was updated successfully, but these errors were encountered: