]> git.lyx.org Git - features.git/commit
restore cursor position in preamble.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 14 May 2007 12:09:14 +0000 (12:09 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 14 May 2007 12:09:14 +0000 (12:09 +0000)
commit06099a8959c23277ce84baf869c61c681f313313
tree79d227691a1fbe32079086201d55f66d4ba197b7
parentc35007dbce63b2d3f8b4dbb4dc2dd1685079fce9
restore cursor position in preamble.

* ControlDocument::id(): new method returning the id of the current buffer.

* PreambleModule: new class for the preamble module. Handle everything preamble related, including memorizing the cursor position for each Buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18307 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/controllers/ControlDocument.cpp
src/frontends/controllers/ControlDocument.h
src/frontends/qt4/QDocument.cpp
src/frontends/qt4/QDocument.h