]> git.lyx.org Git - lyx.git/commit
Sanitize the DEPM!
authorAbdelrazak Younes <younes@lyx.org>
Sat, 30 Dec 2006 15:05:15 +0000 (15:05 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 30 Dec 2006 15:05:15 +0000 (15:05 +0000)
commitceb51f7f765c1f80ec0ffecc3facc43ca2d92ddf
tree5f5baac3f635a3f727fc0510ba53e925d6c21584
parent1e74724606a6e21da14adec63eb52fd94db56bad
Sanitize the DEPM!

* BufferView:
  - checkDepm(): new method for DEPM mechanism.
  - mouseSetCursor(): use checkDepm().

* text2.C:
  - use BufferView::checkDepm() instead of using LyXText::deleteEmptyParagraphMechanism() directly.
  - deleteEmptyParagraphMechanism(): prepare for conversion to DocIterator (code transferred to BufferView::checkDepm()).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16442 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferView.C
src/BufferView.h
src/lyxtext.h
src/text2.C
src/undo.h