]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.C
more cursor dispatch
[lyx.git] / src / buffer_funcs.C
index e06b32ad843e0d6354117c149f9c1ff62d75b142..dbb5e556d9cdfdc63d7aa26b3172f6db5448e3f5 100644 (file)
 #include "support/filetools.h"
 #include "support/lyxlib.h"
 
+using lyx::support::bformat;
+using lyx::support::FileInfo;
+using lyx::support::IsFileWriteable;
+using lyx::support::LibFileSearch;
+using lyx::support::MakeDisplayPath;
+using lyx::support::OnlyFilename;
+using lyx::support::OnlyPath;
+using lyx::support::unlink;
 
-extern BufferList bufferlist;
+using std::string;
 
-using namespace lyx::support;
 
+extern BufferList bufferlist;
 
 namespace {
 
@@ -183,6 +191,7 @@ Buffer * newFile(string const & filename, string const & templatename,
        }
 
        b->setReadonly(false);
+       b->fully_loaded(true);
        b->updateDocLang(b->params().language);
 
        return b;