diff --git a/src/Session.h b/src/Session.h index 25172b3094..98ac563223 100644 --- a/src/Session.h +++ b/src/Session.h @@ -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); diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 4213f1dc6a..3de3d48480 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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());