commit 5c6bc52b1b7dc76e13b5602dd1bcc0e699a74187
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Wed Apr 18 17:39:43 2018 +0200

    Update cursor position after committing IM string
    
    (cherry picked from commit 01fea56eb67eafa88680a913eeb72e023e1afa71)
---
 src/frontends/qt4/GuiWorkArea.cpp |    1 +
 status.23x                        |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt4/GuiWorkArea.cpp 
b/src/frontends/qt4/GuiWorkArea.cpp
index 6df7e4e..7a856ae 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -1282,6 +1282,7 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
                
d->buffer_view_->cursor().insert(qstring_to_ucs4(e->commitString()));
                d->buffer_view_->updateMetrics();
                d->buffer_view_->cursor().endUndoGroup();
+               d->updateCaretGeometry();
                viewport()->update();
        }
 
diff --git a/status.23x b/status.23x
index ddeea9a..474cfec 100644
--- a/status.23x
+++ b/status.23x
@@ -227,6 +227,8 @@ What's new
 
 - Improve error message when document path contains spaces.
 
+- Fix blinking caret position while entering text with input method.
+
 
 * INTERNALS
 

Reply via email to