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:
John Levon 2002-08-09 02:50:20 +00:00
parent 0b95bed295
commit 30a10564b1
5 changed files with 12 additions and 8 deletions

View File

@ -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:

View File

@ -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

View File

@ -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());

View File

@ -377,8 +377,6 @@ private:
///
bool no_selection;
///
mutable float xpos;
///
UpdatableInset * the_locking_inset;
///
mutable Paragraph * old_par;

View File

@ -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;