mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +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>
|
2003-08-26 Alfredo Braunstein <abraunst@libero.it>
|
||||||
|
|
||||||
* screen.C (redraw): remove an uneeded updateRowPositions
|
* screen.C (redraw): remove an uneeded updateRowPositions
|
||||||
|
@ -158,6 +158,10 @@ void LyXScreen::showCursor(BufferView & bv)
|
|||||||
shape = REVERSED_L_SHAPE;
|
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 ascent = font_metrics::maxAscent(realfont);
|
||||||
int descent = font_metrics::maxDescent(realfont);
|
int descent = font_metrics::maxDescent(realfont);
|
||||||
int h = ascent + descent;
|
int h = ascent + descent;
|
||||||
|
Loading…
Reference in New Issue
Block a user