]> git.lyx.org Git - lyx.git/blobdiff - src/TextCache.h
fix typo that put too many include paths for most people
[lyx.git] / src / TextCache.h
index c65111d45b9474821c9af18dff9286e9a48baf2a..410e94eafc2e268cfc0ae096ce0af16ee939e6b3 100644 (file)
@@ -1,12 +1,12 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor        
+ * ======================================================
+ *
+ *           LyX, The Document Processor
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team
+ *           Copyright 1995-2001 The LyX Team
  *
- *           This file is Copyright 2000
+ *           This file is Copyright 2000-2001
  *           Lars Gullik Bjønnes
  *
  * ====================================================== */
 #pragma interface
 #endif
 
-#include <iosfwd>
-#include <map>
-
 #include "LString.h"
 #include "lyxtext.h"
 #include "buffer.h"
 
+#include <iosfwd>
+#include <map>
+
+
 // This is only the very first implemetation and use of the TextCache,
 // operations on it needs to be put into a class or a namespace, that part
 // is _NOT_ finished so don't bother to come with too many comments on it
@@ -36,7 +37,7 @@
 //
 // Q. What are we caching?
 // A. We are caching the screen representations (LyXText) of the
-//    documents (Buffer,LyXParagraph) for specific BufferView widths.
+//    documents (Buffer,Paragraph) for specific BufferView widths.
 // Q. Why the cache?
 // A. It is not really needed, but it speeds things up a lot
 //    when you have more than one document loaded at once since a total
@@ -58,7 +59,7 @@
 //    I believe there are only three possible scenarios where the two first
 //    are also covered by the third.
 //        - The simplest scenario is what we have now, a single
-//          BufferView only.  
+//          BufferView only.
 //          o Opening
 //            Nothing to do with the TextCache is done when opening a file.
 //          o Switching
@@ -113,7 +114,7 @@ class TextCache {
 public:
        ///
        typedef std::map<Buffer *, std::pair<int,LyXText *> > Cache;
-       
+
        ///
        typedef Cache::value_type value_type;
 
@@ -138,6 +139,6 @@ private:
        Cache cache;
 };
 
-// bla bla
+///
 extern TextCache textcache;
 #endif