From 32ea6510072c7011f9292bfb5296a8a5b9fe0f50 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Thu, 10 Mar 2011 04:10:21 +0000 Subject: [PATCH] Revert r37801 and r37870. They are superseded by r37894. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37895 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiErrorList.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index bd60878514..e851dc42f0 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -172,13 +172,6 @@ bool GuiErrorList::goTo(int item) return false; } - // Don't try to highlight the content of info and ert insets - while (dit.inset().lyxCode() == INFO_CODE - || dit.inset().lyxCode() == ERT_CODE) { - dit.pos() = dit.lastpos(); - dit.forwardPos(); - } - // If this paragraph is empty, highlight the previous one while (dit.paragraph().empty()) dit.backwardPos(); -- 2.39.2