Hi!

On Tue, Feb 3, 2009 at 3:09 PM, Edward K. Ream <[email protected]> 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
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to