]> git.lyx.org Git - features.git/commit
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 25 May 2006 11:57:22 +0000 (11:57 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 25 May 2006 11:57:22 +0000 (11:57 +0000)
commitd5443737342903de489d527802cd2cdd38987d74
treef124535c0d910f6bafa2f04f6d03f1bec87b0dc5
parent04e8d1e65bc2e3bca05d0d997a5cd243e02e2a8e
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
"Don't view/edit this format", and 'auto' means "Use the default viewer/editor".
* src/format.C
(fixCommand): Change semantics: "none" is equal to "", and "auto"
is removed if canAutoOpenFile returns false.

* src/frontends/xforms/FormPreferences.C
(FormPreferences::SpellOptions::apply): "none" -> ""

* src/lyxrc.C
(LyXRC::read): "none" -> ""

* lib/doc/Customization.lyx: Document the autoopen feature

* lib/configure.py
(checkProg): add optional not_found argument, defaulting to 'none'
(checkViewer): new, equivalent to checkProg with not_found = 'auto'
(checkFormatEntries): call checkViewer instead of checkProg for
viewers and editors

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13929 a592a061-630c-0410-9148-cb99ea01b6c8
lib/configure.py
lib/doc/Customization.lyx
src/format.C
src/frontends/xforms/FormPreferences.C
src/lyxrc.C