mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 17:16:46 +00:00
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user