mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Write messages to minibuffer when using bookmarks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1417 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5bee0d0d7
commit
af5a15a94b
@ -1181,6 +1181,8 @@ void BufferView::Pimpl::savePosition(unsigned int i)
|
||||
saved_positions[i] = Position(buffer_->fileName(),
|
||||
bv_->text->cursor.par()->id(),
|
||||
bv_->text->cursor.pos());
|
||||
if (i > 0)
|
||||
owner_->getMiniBuffer()->Set(_("Saved bookmark ") + tostr(i));
|
||||
}
|
||||
|
||||
|
||||
@ -1189,7 +1191,6 @@ void BufferView::Pimpl::restorePosition(unsigned int i)
|
||||
if (i >= saved_positions_num)
|
||||
return;
|
||||
|
||||
|
||||
string fname = saved_positions[i].filename;
|
||||
|
||||
beforeChange();
|
||||
@ -1208,6 +1209,8 @@ void BufferView::Pimpl::restorePosition(unsigned int i)
|
||||
bv_->text->SetCursor(bv_, par,
|
||||
min(par->Last(), saved_positions[i].par_pos));
|
||||
update(BufferView::SELECT|BufferView::FITCUR);
|
||||
if (i > 0)
|
||||
owner_->getMiniBuffer()->Set(_("Moved to bookmark ") + tostr(i));
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* BufferView_pimpl.C (savePosition, restorePosition): Write
|
||||
messages to minibuffer.
|
||||
|
||||
2001-01-28 José Matos <jamatos@fep.up.pt>
|
||||
|
||||
* buffer.C (makeDocBookFile): adds support for document language.
|
||||
|
Loading…
Reference in New Issue
Block a user