mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Correct strange FIXME
This commit is contained in:
parent
7faafd037e
commit
70fe2c618e
@ -1061,12 +1061,6 @@ CursorSlice Cursor::normalAnchor() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DocIterator & Cursor::realAnchor()
|
|
||||||
{
|
|
||||||
return anchor_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
CursorSlice Cursor::selBegin() const
|
CursorSlice Cursor::selBegin() const
|
||||||
{
|
{
|
||||||
if (!selection())
|
if (!selection())
|
||||||
|
@ -297,10 +297,9 @@ public:
|
|||||||
|
|
||||||
/// access to normalized selection anchor
|
/// access to normalized selection anchor
|
||||||
CursorSlice normalAnchor() const;
|
CursorSlice normalAnchor() const;
|
||||||
// FIXME: this can't be a const & and a const function because
|
|
||||||
// LFUN_TAB_* wants to move the real anchor.
|
|
||||||
/// access to real selection anchor
|
/// access to real selection anchor
|
||||||
DocIterator & realAnchor();
|
DocIterator const & realAnchor() const { return anchor_; }
|
||||||
|
DocIterator & realAnchor() { return anchor_; }
|
||||||
/// sets anchor to cursor position
|
/// sets anchor to cursor position
|
||||||
void resetAnchor();
|
void resetAnchor();
|
||||||
/// access to owning BufferView
|
/// access to owning BufferView
|
||||||
|
Loading…
Reference in New Issue
Block a user