-
Notifications
You must be signed in to change notification settings - Fork 7
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
Highlight surrounding quotes/brackets #42
Comments
I'm looking into this. |
The Perl implementation of this comes from the Perl TK module, it's not our own code. So far I haven't found a similar function in tkinter, so most likely I'll port the Perl code and make it part of the GG2 codebase itself. See https://metacpan.org/release/SREZIC/Tk-804.036/source/Tk/TextEdit.pm |
In order for enum.auto() to work here using StrEnum, the class can only contain these auto-string variables; the dicts for color definitions have to be separated.
In order for enum.auto() to work here using StrEnum, the class can only contain these auto-string variables; the dicts for color definitions have to be separated.
When activated from the Search menu, this mode finds pairs of quote marks and brackets surrounding the cursor position and highlights them. Only pairs are highlighted, and only the nearest surrounding pair (of each type) surrounding the cursor is highlighted. Also fixes a failing test (on macOS) in pytest. Fixes DistributedProofreaders#42
In GG1 Search menu
The text was updated successfully, but these errors were encountered: