commit 592720d044a8c3ed808ea2d5a4808aa57df241aa
Author: Koji Yokota <[email protected]>
Date: Wed Nov 5 10:53:00 2025 +0900
Cursor can be in mathed
---
src/frontends/qt/GuiInputMethod.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/frontends/qt/GuiInputMethod.cpp
b/src/frontends/qt/GuiInputMethod.cpp
index 447e05dcaa..c548a4c637 100644
--- a/src/frontends/qt/GuiInputMethod.cpp
+++ b/src/frontends/qt/GuiInputMethod.cpp
@@ -1445,7 +1445,7 @@ void GuiInputMethod::setAbsolutePosition(Cursor & cur)
const
d->abs_pos_ = 0;
for (auto const & p : cur.buffer()->paragraphs()) {
- if (p.id() == cur.paragraph().id())
+ if (p.id() == cur.innerParagraph().id())
break;
d->abs_pos_ += p.size();
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs