This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cheryl.sabella, serhiy.storchaka, terry.reedy
Date 2018-02-22.10:29:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519295350.62.0.467229070634.issue32880@psf.upfronthosting.co.za>
In-reply-to
Content
The ()[]{} match manager is in parenmatch.py.  It imports Hyperparser, which uses pyparse.Parser.  When one types a closer, the corresponding opener is also highlighted and, depending on the configured style, everything in between.  Very handy for showing when enough closers have been typed. Edit => Show surrounding parens, ^0 on Windows, which is essentially ^) on US keyboards, highlights out to the nearest pair.  One can select one end of a pair by putting the cursor just inside a fence char.  (A tk Text cursor is between characters, not on.)

I don't think I would like automatic flashes when merely moving the cursor, or maybe I don't understand what you propose.

On the hand, moving to the nearest opener to the left or closer to the right could be useful.  ^] is already used for indent region, but ^{ and ^} (control-shift-bracket) are available and mnemonic.  What shortcuts do you know of?
History
Date User Action Args
2018-02-22 10:29:10terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, cheryl.sabella
2018-02-22 10:29:10terry.reedysetmessageid: <1519295350.62.0.467229070634.issue32880@psf.upfronthosting.co.za>
2018-02-22 10:29:10terry.reedylinkissue32880 messages
2018-02-22 10:29:10terry.reedycreate