]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.cpp
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / ExternalTemplate.cpp
index 600969dc456441d4913f0d62e9f5c0e37de02970..4930a975439d53343955908315cec31d2b35da10 100644 (file)
@@ -50,7 +50,7 @@ static TransformIDTranslator const & transformIDTranslator()
 
 // We have to have dummy default commands for security reasons!
 Template::Template()
-       : inputFormat("*")
+       : inputFormat("*"), automaticProduction(false), preview_mode(PREVIEW_OFF)
 {}
 
 
@@ -318,12 +318,12 @@ void Template::readTemplate(Lexer & lex)
 
        LexerKeyword templateoptiontags[] = {
                { "automaticproduction", TO_AUTOMATIC },
-               { "preview", TO_PREVIEW },
                { "filefilter", TO_FILTER },
                { "format", TO_FORMAT },
                { "guiname", TO_GUINAME },
                { "helptext", TO_HELPTEXT },
                { "inputformat", TO_INPUTFORMAT },
+               { "preview", TO_PREVIEW },
                { "templateend", TO_END },
                { "transform", TO_TRANSFORM }
        };