]> git.lyx.org Git - lyx.git/blobdiff - src/text_funcs.h
ws changes only
[lyx.git] / src / text_funcs.h
index 4b183beb7e2c7ab2afc7daee65d291f7cdd50204..bd4a7674a4b1cfae0875dd87821eaabac6c29d87 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file text_funcs.h
  * This file is part of LyX, the document processor.
@@ -6,36 +7,35 @@
  * \author Lars Gullik Bjønnes
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  *
  * This file contains some utility functions for actually mutating
- * the text contents of a document 
+ * the text contents of a document
  */
 
 #ifndef TEXT_FUNCS_H
 #define TEXT_FUNCS_H
 
-#include <config.h>
-
+#include "ParagraphList_fwd.h"
 #include "support/types.h"
 
 class LyXCursor;
-class ParagraphList;
+class LyXText;
 
 
 // do no use LyXText or BufferView here
 
 
 ///
-bool transposeChars(LyXCursor const & cursor);
+bool transposeChars(LyXText &, LyXCursor const & cursor);
 ///
-void cursorLeftOneWord(LyXCursor &, ParagraphList const &);
+void cursorLeftOneWord(LyXText &, LyXCursor &, ParagraphList const &);
 ///
-void cursorRightOneWord(LyXCursor &, ParagraphList const &);
+void cursorRightOneWord(LyXText &, LyXCursor &, ParagraphList const &);
 
 // Select current word. This depends on behaviour of
 // CursorLeftOneWord(), so it is patched as well.
-void getWord(LyXCursor & from, LyXCursor & to, lyx::word_location const loc,
+void getWord(LyXText &, LyXCursor & from, LyXCursor & to, lyx::word_location const loc,
        ParagraphList const & pars);
 
 #endif // TEXT_FUNCS_H