mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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
|
||||
{
|
||||
if (!selection())
|
||||
|
@ -297,10 +297,9 @@ public:
|
||||
|
||||
/// access to normalized selection anchor
|
||||
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
|
||||
DocIterator & realAnchor();
|
||||
DocIterator const & realAnchor() const { return anchor_; }
|
||||
DocIterator & realAnchor() { return anchor_; }
|
||||
/// sets anchor to cursor position
|
||||
void resetAnchor();
|
||||
/// access to owning BufferView
|
||||
|
Loading…
Reference in New Issue
Block a user