mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-06 15:24:26 +00:00
parent
2ab40de8b9
commit
122ab94f3d
@ -1246,6 +1246,16 @@ void InputField::updatePalette() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cursor = textCursor();
|
||||
if (!cursor.hasSelection()) {
|
||||
auto format = cursor.charFormat();
|
||||
format.merge(PrepareTagFormat(
|
||||
_st,
|
||||
format.property(kTagProperty).toString()));
|
||||
cursor.setCharFormat(format);
|
||||
setTextCursor(cursor);
|
||||
}
|
||||
}
|
||||
|
||||
void InputField::onTouchTimer() {
|
||||
|
Loading…
Reference in New Issue
Block a user