Discussion:
Selection causes flashes
harry
2013-08-09 10:54:46 UTC
Permalink
I am currently using in PyQt for an IDE development and i noticed that
whenever brace matching was enabled, the screen flashes when i am making a
selection. Could there be some reason for this? It isn't so with a simple
implementation of scintilla that i have.
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2013-08-12 06:53:03 UTC
Permalink
I am currently using in PyQt for an IDE development and i noticed that whenever brace matching was enabled, the screen flashes when i am making a selection. Could there be some reason for this? It isn't so with a simple implementation of scintilla that i have.
Flashing can often be fixed by turning on buffering. Sometimes there is a platform call for the whole window to be buffered. Otherwise there is:
http://www.scintilla.org/ScintillaDoc.html#SCI_SETBUFFEREDDRAW

If this remains a problem, you could try debugging Scintilla's selection and brace matching code. It may be possible to decrease the amount of redrawing.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...