Author: forenr
Date: Thu Mar 10 05:10:21 2011
New Revision: 37895
URL: http://www.lyx.org/trac/changeset/37895
Log:
Revert r37801 and r37870. They are superseded by r37894.
Modified:
lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp
Modified: lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp Thu Mar 10 05:05:49
2011 (r37894)
+++ lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp Thu Mar 10 05:10:21
2011 (r37895)
@@ -172,13 +172,6 @@
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();