commit 20c4a18c5e212399f852bdc7ecd5c83973f083ff
Author: Koji Yokota <[email protected]>
Date: Thu Oct 1 16:52:05 2026 +0900
Fix a comment
---
src/frontends/qt/GuiInputMethod.cpp | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/frontends/qt/GuiInputMethod.cpp
b/src/frontends/qt/GuiInputMethod.cpp
index 677d3f99f9..2572e23cb3 100644
--- a/src/frontends/qt/GuiInputMethod.cpp
+++ b/src/frontends/qt/GuiInputMethod.cpp
@@ -523,13 +523,16 @@ pos_type GuiInputMethod::setTextFormat(const
QInputMethodEvent::Attribute & it,
// overlay theme's color on char_format's base color
// theme's color is the system color if "Use system colors" is checked
+ //
// NOTE: brush size is assumed to be four
// if it is to be changed, change the declaration of array in
// setPreeditStyle()
- // Also, the "if" below doesn't work since
QInputMethodEvent::Cursor
- // doesn't arrive on time on Linux so d->caret_rel_pos_ can
contain
- // old information.
- // if (it.start == d->caret_rel_pos_) {
+ // Also, the "if" commented out below doesn't work since
+ // QInputMethodEvent::Cursor doesn't arrive on time on Linux so
+ // d->caret_rel_pos_ can contain old information.
+ //
+ // if (it.start == d->caret_rel_pos_) {
+ //
if (char_format.background().color() != QColorConstants::Black) {
fg = qcolorOverlay(brush[0].color(), im_fg);
bg = qcolorOverlay(brush[1].color(), im_bg);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs