git-svn-id: svn://db.shs.com.ru/libs@34 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -724,6 +724,8 @@ void QCodeEdit::raiseHelp(QTextCursor tc, int arg) {
|
||||
lbl_help->resize(lbl_help->sizeHint());
|
||||
lbl_help->move(textCode->mapToGlobal(textCode->cursorRect(tc).topLeft() - QPoint(0, lbl_help->height() + 8)));
|
||||
lbl_help->show();
|
||||
cursor_scope = scope.first;
|
||||
cursor_scope << scope.second;
|
||||
//qDebug() << "tooltip" << st;
|
||||
}
|
||||
|
||||
@@ -731,6 +733,7 @@ void QCodeEdit::raiseHelp(QTextCursor tc, int arg) {
|
||||
void QCodeEdit::hideHelp() {
|
||||
lbl_help->hide();
|
||||
es_cursor.cursor = QTextCursor();
|
||||
cursor_scope.clear();
|
||||
applyExtraSelection();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user