3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
11 * This file contains some utility functions for actually mutating
12 * the text contents of a document
20 #include "support/types.h"
26 // do no use LyXText or BufferView here
30 bool transposeChars(LyXCursor const & cursor);
32 void cursorLeftOneWord(LyXCursor &, ParagraphList const &);
34 void cursorRightOneWord(LyXCursor &, ParagraphList const &);
36 // Select current word. This depends on behaviour of
37 // CursorLeftOneWord(), so it is patched as well.
38 void getWord(LyXCursor & from, LyXCursor & to, lyx::word_location const loc,
39 ParagraphList const & pars);
41 #endif // TEXT_FUNCS_H