DistributedProofreaders / guiguts-py

Guiguts rewrite using Python/tkinter
GNU General Public License v2.0
2 stars 7 forks source link

Highlight surrounding quotes/brackets #42

Open windymilla opened 8 months ago

windymilla commented 8 months ago

In GG1 Search menu

tangledhelix commented 5 months ago

I'm looking into this.

tangledhelix commented 1 month ago

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 HighlightSinglePairBracketingCursor function defined here (starting on line 432 as of this writing):

https://metacpan.org/release/SREZIC/Tk-804.036/source/Tk/TextEdit.pm