]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/lyxStatus.pm
Cmake export tests: More tests to be reverted.
[lyx.git] / development / autotests / lyxStatus.pm
index ef18c897bb2854ada818ed5eedcd5075d71f1f5b..cfdeceb0f6a49bb46d7b03d0e7b7ce7d96865c9e 100644 (file)
@@ -242,6 +242,12 @@ sub checkForPreamble($)
                          "search" => '^\\\\(photo|ecvpicture)(.*\{)(.*)\}',
                          "fileidx" => 3,
                          "result" => ["\\", "1", "2", "3", "}"]);
+    #
+    # Remove comments from preamble
+    my $comments = newMatch("search" => '^([^%]*)([%]+)([^%]*)$',
+                           "filetype" => "replace_only",
+                           "result" => ["1", "2"]);
+    #setMatching([$rElem, $comments]);
     setMatching([$rElem]);
     return(1);
   }