]> git.lyx.org Git - lyx.git/blobdiff - src/text_funcs.h
More 'standard conformant blurb' nonsense.
[lyx.git] / src / text_funcs.h
index 8ae6df785f2e8bba8b7875a7de211f19de4e192e..4b183beb7e2c7ab2afc7daee65d291f7cdd50204 100644 (file)
 
 #include <config.h>
 
-class LyXText;
+#include "support/types.h"
+
 class LyXCursor;
+class ParagraphList;
+
+
+// do no use LyXText or BufferView here
+
+
+///
+bool transposeChars(LyXCursor const & cursor);
+///
+void cursorLeftOneWord(LyXCursor &, ParagraphList const &);
+///
+void cursorRightOneWord(LyXCursor &, ParagraphList const &);
 
-void transposeChars(LyXText & text, LyXCursor const & cursor);
+// 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,
+       ParagraphList const & pars);
 
 #endif // TEXT_FUNCS_H