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