mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
two minor cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4913 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0b95bed295
commit
30a10564b1
@ -1,3 +1,7 @@
|
||||
2002-08-09 John Levon <levon@movementarian.org>
|
||||
|
||||
* lyxtext.h: remove unused refresh_height
|
||||
|
||||
2002-08-09 John Levon <levon@movementarian.org>
|
||||
|
||||
* Makefile.am:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-09 John Levon <levon@movementarian.org>
|
||||
|
||||
* insettext.h:
|
||||
* insettext.C: remove unused xpos
|
||||
|
||||
2002-08-07 Juergen Vigna <jug@lyx.org>
|
||||
|
||||
* insettabular.C (localDispatch): make delete not put the stuff
|
||||
|
@ -189,7 +189,6 @@ void InsetText::init(InsetText const * ins, bool same_id)
|
||||
need_update = FULL;
|
||||
drawTextXOffset = 0;
|
||||
drawTextYOffset = 0;
|
||||
xpos = 0.0;
|
||||
locked = false;
|
||||
old_par = 0;
|
||||
last_drawn_width = -1;
|
||||
@ -387,7 +386,6 @@ void InsetText::draw(BufferView * bv, LyXFont const & f,
|
||||
return;
|
||||
}
|
||||
|
||||
xpos = x;
|
||||
if (!owner())
|
||||
x += static_cast<float>(scroll());
|
||||
|
||||
|
@ -377,8 +377,6 @@ private:
|
||||
///
|
||||
bool no_selection;
|
||||
///
|
||||
mutable float xpos;
|
||||
///
|
||||
UpdatableInset * the_locking_inset;
|
||||
///
|
||||
mutable Paragraph * old_par;
|
||||
|
@ -178,8 +178,6 @@ public:
|
||||
///
|
||||
mutable int refresh_y;
|
||||
///
|
||||
int refresh_height;
|
||||
///
|
||||
int refresh_width;
|
||||
///
|
||||
int refresh_x;
|
||||
@ -339,8 +337,6 @@ public:
|
||||
///
|
||||
void cursorLeftOneWord(BufferView *) const;
|
||||
///
|
||||
void cursorLeftOneWord(LyXCursor &) const;
|
||||
///
|
||||
void cursorRightOneWord(BufferView *) const;
|
||||
///
|
||||
void cursorUpParagraph(BufferView *) const;
|
||||
@ -494,6 +490,9 @@ private:
|
||||
///
|
||||
mutable Row * lastrow;
|
||||
|
||||
///
|
||||
void cursorLeftOneWord(LyXCursor &) const;
|
||||
|
||||
///
|
||||
float getCursorX(BufferView *, Row *, lyx::pos_type pos,
|
||||
lyx::pos_type last, bool boundary) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user