[PyQt] Feature request: support for flashing characters in
QTextEdit
Henning Schröder
henning.schroeder at gmail.com
Tue Feb 3 15:29:32 GMT 2009
Hi!
On Tue, Feb 3, 2009 at 3:09 PM, Edward K. Ream <edreamleo at gmail.com> wrote:
> This is a repost of
> '[PyQt] Can't disable key strokes while flashing matching brackets'
> recast as a feature request.
Do you mean parenthesis matching?
> I have found no good way for my app to flash matching brackets in a
> QTextEdit. The problem is that keystrokes that occur during flashing can
> replace the character being 'flashed', i.e., selected briefly.
> [..]
> Nobody has responded to my requests for sample code illustrating how this
> might be done.
Unfortunately your example is incomplete so I could not test it. E.g.
what does setSelectionRange? Does it use the new QTextCursor API? I
successfully implemented parenthesis matching with
QTextEdit.ExtraSelection.
Henning
More information about the PyQt
mailing list