(parse_text_in_inset): convenience function
* tex2lyx.C (main): \the_end -> \end_document
* preamble.C (end_preamble): update version number to 225
* text.C (parse_text): replace test on "lyxcode" with test on
LyXLayout::freespacing.
(check_end_layout): new function, used to check whether we need to
add an \end_layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7434 a592a061-630c-0410-9148-cb99ea01b6c8