mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Adjust comments to the truth.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35850 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dbe3d79e15
commit
5518b04248
@ -168,7 +168,7 @@ public:
|
||||
|
||||
/** add cursor position to the fname entry in the filepos map
|
||||
@param fname file entry for which to save position information
|
||||
@param pos position of the cursor when the file is closed.
|
||||
@param pos position of the cursor when the BufferView is closed.
|
||||
*/
|
||||
void save(support::FileName const & fname, FilePos const & pos);
|
||||
|
||||
|
@ -1328,7 +1328,7 @@ void GuiView::setBuffer(Buffer * newBuffer)
|
||||
if (wa == 0) {
|
||||
newBuffer->masterBuffer()->updateBuffer();
|
||||
wa = addWorkArea(*newBuffer);
|
||||
// scroll to the position when the file was last closed
|
||||
// scroll to the position when the BufferView was last closed
|
||||
if (lyxrc.use_lastfilepos) {
|
||||
LastFilePosSection::FilePos filepos =
|
||||
theSession().lastFilePos().load(newBuffer->fileName());
|
||||
|
Loading…
Reference in New Issue
Block a user