]> git.lyx.org Git - features.git/commit
Call python with the -tt switch to make mixed tab/space indentation an error
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 30 Jun 2006 13:54:01 +0000 (13:54 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 30 Jun 2006 13:54:01 +0000 (13:54 +0000)
commit4ae87a3bb8503b5a672bb85448b11f08ebcfeffd
treeba945484e6e7dc36cc25382cca499f28a94d3434
parent96a7b5d0afcd2fc079669847103d33193e929335
Call python with the -tt switch to make mixed tab/space indentation an error

* src/support/os.[Ch]
(python): new function, return the python command

* lib/lyx2lyx/lyx_1_5.py
(revert_font_settings): replace tabs with spaces

The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8
29 files changed:
lib/configure.py
lib/doc/Makefile.depend
lib/doc/depend.py
lib/doc/doc_toc.py
lib/examples/listerrors.lyx
lib/generate_contributions.py
lib/lyx2lyx/lyx2lyx
lib/lyx2lyx/lyx_1_5.py
lib/lyx2lyx/profiling.py
lib/scripts/TeXFiles.py
lib/scripts/clean_dvi.py
lib/scripts/convertDefault.py
lib/scripts/fen2ascii.py
lib/scripts/fig2pdftex.py
lib/scripts/fig2pstex.py
lib/scripts/fig_copy.py
lib/scripts/layout2layout.py
lib/scripts/legacy_lyxpreview2ppm.py
lib/scripts/lyxpreview2bitmap.py
lib/scripts/lyxpreview_tools.py
lib/scripts/tex_copy.py
src/buffer.C
src/converter.C
src/frontends/controllers/tex_helpers.C
src/graphics/GraphicsConverter.C
src/lyxtextclass.C
src/support/os.C
src/support/os.h
src/support/package.C.in