]> git.lyx.org Git - features.git/commit
#7740 Add undo for change of text language with LFUN_BUFFER_LANGUAGE
authorStephan Witt <switt@lyx.org>
Tue, 23 Aug 2011 10:22:14 +0000 (10:22 +0000)
committerStephan Witt <switt@lyx.org>
Tue, 23 Aug 2011 10:22:14 +0000 (10:22 +0000)
commit1a0b35288dab2b2149b5438499aadbcbe7fd2f24
tree4af1931f5f7121ccc769fea77449a61df2248b71
parentc9d9bde0b21f59a66ef3096ecedb3fd224c63209
#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/trunk@39508 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp
src/BufferView.cpp