QCodeEdit blockselection patch, now works with visual instead of position

This commit is contained in:
2020-09-24 19:09:37 +03:00
parent 66f9e76d66
commit 3245d71bc8
2 changed files with 77 additions and 42 deletions

View File

@@ -166,6 +166,7 @@ private:
int searchIndFromCursor();
QRect cursorRect();
QRect blockSelectionRect();
QVector<QTextCursor> blockSelectionCursors(QRect bsr);
void repaintCursor();
void drawCursor();
bool hasBlockSelection() const;