________________________________
From: QScintilla <[email protected]> on behalf of Matic 
Kukovec <[email protected]>
Sent: Friday, November 23, 2018 4:34 PM
To: QScintilla
Subject: [QScintilla] Slowdown with multiple widgets

Hi guys,

I'm using PyQt5.11.3 and QScintilla2.10.8.

When I create a QMainwindow with a menubar and three QSplitters, with a 
QsciScintilla widget with a
custom lexer in one of them and empty frames into the other splitter slots, the 
QsciScintilla editor behaves normally.
But when I add a couple of custom widgets to the empty QFrames (no more than 30 
into each QFrame, like pushbuttons with images and labels),
then when typing in the QsciScintilla editor becomes unbelievably slow. 
Pressing 10 keys in rapid succession hangs the editor
for a second and then the characters that were typed in appear instantly.

What is causing this, does anyone have any ideas?

Matic
Found the problem, I was resetting the stylesheets over and over on each 
keypress.

Thanks,
Matic


_______________________________________________
QScintilla mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to