From 7b31bf784ae3b6659eeba7a81602bc9071c33438 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Sun, 1 Apr 2007 15:12:19 +0000 Subject: [PATCH] WS changes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17684 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index 9d6a2de88d..4e8d0cb972 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -607,7 +607,7 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e) else stopBlinkingCursor(); - // last_width : for checking if last preedit string was/wasn't empty. + // last_width : for checking if last preedit string was/wasn't empty. static bool last_width = false; if (!last_width && preedit_string.empty()) { // if last_width is last length of preedit string. @@ -636,11 +636,11 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e) } last_width = true; - // att : stores an IM attribute. + // att : stores an IM attribute. QList const & att = e->attributes(); // get attributes of input method cursor. - // cursor_pos : cursor position in preedit string. + // cursor_pos : cursor position in preedit string. size_t cursor_pos = 0; bool cursor_is_visible = false; for (int i = 0; i < att.size(); ++i) { @@ -655,9 +655,9 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e) // get position of selection in input method. // FIXME: isn't there a way to do this simplier? - // rStart : cursor position in selected string in IM. + // rStart : cursor position in selected string in IM. size_t rStart = 0; - // rLength : selected string length in IM. + // rLength : selected string length in IM. size_t rLength = 0; if (cursor_pos < preedit_length) { for (int i = 0; i < att.size(); ++i) { -- 2.39.2