mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
Compilation fix, again... sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16456 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c87fa1927b
commit
9939a42b80
@ -87,17 +87,17 @@ private:
|
|||||||
/// sets row.width to the minimum space a row needs on the screen in pixel
|
/// sets row.width to the minimum space a row needs on the screen in pixel
|
||||||
void setRowWidth(int right_margin, pit_type const pit, Row & row) const;
|
void setRowWidth(int right_margin, pit_type const pit, Row & row) const;
|
||||||
|
|
||||||
// Temporary public:
|
|
||||||
public:
|
|
||||||
/// Calculate and set the height of the row
|
/// Calculate and set the height of the row
|
||||||
void setHeightOfRow(pit_type, Row & row);
|
void setHeightOfRow(pit_type, Row & row);
|
||||||
|
|
||||||
private:
|
// Temporary public:
|
||||||
|
public:
|
||||||
/// returns the column near the specified x-coordinate of the row.
|
/// returns the column near the specified x-coordinate of the row.
|
||||||
/// x is an absolute screen coord, it is set to the real beginning
|
/// x is an absolute screen coord, it is set to the real beginning
|
||||||
/// of this column.
|
/// of this column.
|
||||||
pos_type getColumnNearX(pit_type pit, Row const & row, int & x,
|
pos_type getColumnNearX(pit_type pit, Row const & row, int & x,
|
||||||
bool & boundary) const;
|
bool & boundary) const;
|
||||||
|
private:
|
||||||
|
|
||||||
/// The BufferView owner.
|
/// The BufferView owner.
|
||||||
BufferView * bv_;
|
BufferView * bv_;
|
||||||
|
@ -857,8 +857,6 @@ InsetBase * LyXText::editXY(LCursor & cur, int x, int y)
|
|||||||
bool bound = false;
|
bool bound = false;
|
||||||
|
|
||||||
TextMetrics const & tm = cur.bv().textMetrics(this);
|
TextMetrics const & tm = cur.bv().textMetrics(this);
|
||||||
ParagraphMetrics const & pm = tm.parMetrics(pit);
|
|
||||||
int right_margin = tm.rightMargin(pm);
|
|
||||||
int xx = x; // is modified by getColumnNearX
|
int xx = x; // is modified by getColumnNearX
|
||||||
pos_type const pos = row.pos()
|
pos_type const pos = row.pos()
|
||||||
+ tm.getColumnNearX(pit, row, xx, bound);
|
+ tm.getColumnNearX(pit, row, xx, bound);
|
||||||
|
Loading…
Reference in New Issue
Block a user