]> git.lyx.org Git - features.git/commit
#7740 Add undo for change of text language with LFUN_BUFFER_LANGUAGE
authorStephan Witt <switt@lyx.org>
Mon, 5 Sep 2011 18:41:39 +0000 (18:41 +0000)
committerStephan Witt <switt@lyx.org>
Mon, 5 Sep 2011 18:41:39 +0000 (18:41 +0000)
commitfd2a6bb3da7a0ed2fa71bfe865a1ea0689d58222
treedbfac0a4f87d7d5bc22707335d3da9a33a712c78
parentee8f64e1129fd5eabcebd81d24f7d9300a8d6f96
#7740 Add undo for change of text language with LFUN_BUFFER_LANGUAGE
When a document is not multi-lingual the text contents is changed
to the new language. This should be recorded for Undo.
Because Undo wants a cursor the implemantation has to be
moved to the BufferView class.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39594 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp
src/BufferView.cpp
status.20x