[pgadmin-support] Repaint lockup in ctlSQLBox::OnPositionStc on windows (Was: SQL-panel causes 100% CPU and lockup on windows)

2015-10-03 Thread Nikolai Zhubr
Hi all, Ok, I've verified that ctlSQLBox::OnPositionStc() is broken. If I comment the code for highlighting in it (that is, almost all of its body), the problem goes away. I've found quite some problems observed with it and attempted to fix previously, like e.g. the one from 2011: -

Re: [pgadmin-support] Repaint lockup in ctlSQLBox::OnPositionStc on windows (Was: SQL-panel causes 100% CPU and lockup on windows)

2015-10-03 Thread Nikolai Zhubr
Hi all, ok, it is broken since this commit: http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=patch;h=b0ecbbca7f77c0f07cff67bba3d2bca28954a1e2 - EVT_STC_UPDATEUI(-1, ctlSQLBox::OnPositionStc) + EVT_STC_PAINTED(-1, ctlSQLBox::OnPositionStc) It appears that in previous version of scintill