mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
bug 1341
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7621 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
36b144f9ca
commit
7bfa084387
@ -1,3 +1,7 @@
|
||||
2003-08-27 John Levon <levon@movementarian.org>
|
||||
|
||||
* screen.C: fix cursor in ERT (bug 1341)
|
||||
|
||||
2003-08-26 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* screen.C (redraw): remove an uneeded updateRowPositions
|
||||
|
@ -158,6 +158,10 @@ void LyXScreen::showCursor(BufferView & bv)
|
||||
shape = REVERSED_L_SHAPE;
|
||||
}
|
||||
|
||||
// The ERT language hack needs fixing up
|
||||
if (realfont.language() == latex_language)
|
||||
shape = BAR_SHAPE;
|
||||
|
||||
int ascent = font_metrics::maxAscent(realfont);
|
||||
int descent = font_metrics::maxDescent(realfont);
|
||||
int h = ascent + descent;
|
||||
|
Loading…
Reference in New Issue
Block a user