From aa473bb5686d8572eb4e5b2373aa4950944cbd13 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 14 Oct 2010 15:04:57 +0000 Subject: [PATCH] Comments. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35652 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDocument.cpp | 3 ++- src/frontends/qt4/GuiErrorList.cpp | 3 ++- src/frontends/qt4/GuiSpellchecker.cpp | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index db908944e2..fa0f9d7cb7 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -3311,7 +3311,8 @@ void GuiDocument::dispatchParams() dispatch(FuncRequest(LFUN_SET_COLOR, str)); } } - // FIXME: If we used an LFUN, we would not need those two lines: + // FIXME LFUN + // If we used an LFUN, we would not need these two lines: BufferView * bv = const_cast(bufferview()); bv->processUpdateFlags(Update::Force | Update::FitCursor); } diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index 2038500b47..d359adc89f 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -180,7 +180,8 @@ bool GuiErrorList::goTo(int item) pos_type const range = end - start; dit.pos() = start; BufferView * bv = const_cast(bufferview()); - // FIXME: If we used an LFUN, we would not need these lines: + // FIXME LFUN + // If we used an LFUN, we would not need these lines: bv->putSelectionAt(dit, range, false); bv->processUpdateFlags(Update::Force | Update::FitCursor); return true; diff --git a/src/frontends/qt4/GuiSpellchecker.cpp b/src/frontends/qt4/GuiSpellchecker.cpp index cfb9f6812a..8714aa4c3f 100644 --- a/src/frontends/qt4/GuiSpellchecker.cpp +++ b/src/frontends/qt4/GuiSpellchecker.cpp @@ -324,8 +324,8 @@ void GuiSpellchecker::check() if (pos != -1) d->ui.languageCO->setCurrentIndex(pos); - // FIXME: if we used a lfun like in find/replace, dispatch would do - // all of this for us + // FIXME LFUN + // If we used a LFUN, dispatch would do all of this for us int const size = to.pos() - from.pos(); BufferView * bv = const_cast(bufferview()); bv->putSelectionAt(from, size, false); -- 2.39.2