remove nouse code
This commit is contained in:
parent
e9d95a4682
commit
33a47a5361
|
@ -5876,15 +5876,6 @@ bool QSynEdit::isCaretVisible()
|
|||
|
||||
void QSynEdit::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
if (mPainting) {
|
||||
qDebug()<<"painting!";
|
||||
return;
|
||||
}
|
||||
mPainting = true;
|
||||
auto action = finally([&,this] {
|
||||
mPainting = false;
|
||||
});
|
||||
|
||||
// Now paint everything while the caret is hidden.
|
||||
QPainter painter(viewport());
|
||||
//Get the invalidated rect.
|
||||
|
|
|
@ -688,7 +688,6 @@ private:
|
|||
int mMouseScrollOldTop;
|
||||
|
||||
bool mInserting;
|
||||
bool mPainting;
|
||||
PDocument mDocument;
|
||||
int mLinesInWindow;
|
||||
int mLeftPos;
|
||||
|
|
Loading…
Reference in New Issue