Remove unused CursorData::logicalpos_

This was introduced in 41ecabf5, probably by mistake.
This commit is contained in:
Jean-Marc Lasgouttes 2016-02-28 16:44:00 +01:00 committed by Richard Heck
parent 5792606ff9
commit 171fe0cb43
2 changed files with 3 additions and 8 deletions

View File

@ -239,7 +239,7 @@ bool bruteFind3(Cursor & cur, int x, int y, bool up)
CursorData::CursorData()
: DocIterator(), anchor_(),
selection_(false), mark_(false), word_selection_(false),
logicalpos_(false), current_font(inherit_font),
current_font(inherit_font),
autocorrect_(false), macromode_(false)
{}
@ -247,7 +247,7 @@ CursorData::CursorData()
CursorData::CursorData(Buffer * buffer)
: DocIterator(buffer), anchor_(),
selection_(false), mark_(false), word_selection_(false),
logicalpos_(false), current_font(inherit_font),
current_font(inherit_font),
autocorrect_(false), macromode_(false)
{}
@ -255,7 +255,7 @@ CursorData::CursorData(Buffer * buffer)
CursorData::CursorData(DocIterator const & dit)
: DocIterator(dit), anchor_(),
selection_(false), mark_(false), word_selection_(false),
logicalpos_(false), current_font(inherit_font),
current_font(inherit_font),
autocorrect_(false), macromode_(false)
{}

View File

@ -101,11 +101,6 @@ protected:
bool mark_;
/// are we in word-selection mode? This is set when double clicking.
bool word_selection_;
/// If true, we are behind the previous char, otherwise we are in front
// of the next char. This only make a difference when we are in front
// of a big inset spanning a whole row and computing coordinates for
// displaying the cursor.
bool logicalpos_;
// FIXME: make them protected.
public: