]> git.lyx.org Git - lyx.git/blobdiff - src/Lexer.h
fix a visual cursor edge-case:
[lyx.git] / src / Lexer.h
index 64186392666c4431fa44359940bda95c932483b9..d4e440121c87f726c9e939ba124cd24b1c010c0e 100644 (file)
 #ifndef LEXER_H
 #define LEXER_H
 
-#include "support/docstring.h"
-
-#include <boost/noncopyable.hpp>
-
-#include <iosfwd>
+#include "support/strfwd.h"
 
 
 namespace lyx {
@@ -55,7 +51,7 @@ struct keyword_item {
 
     @see LyXRC.cpp for an example of usage.
   */
-class Lexer : boost::noncopyable {
+class Lexer {
 public:
        ///
        Lexer(keyword_item *, int);
@@ -175,6 +171,11 @@ public:
        static std::string const quoteString(std::string const &);
 
 private:
+       /// noncopiable
+       Lexer(Lexer const &);
+       void operator=(Lexer const &);
+
+       ///
        class Pimpl;
        ///
        Pimpl * pimpl_;