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 "ParagraphList_fwd.h"
20 #include "support/types.h"
26 // do no use LyXText or BufferView here
30 bool transposeChars(LyXText &, LyXCursor const & cursor);
32 void cursorLeftOneWord(LyXText &, LyXCursor &, ParagraphList const &);
34 void cursorRightOneWord(LyXText &, LyXCursor &, ParagraphList const &);
36 // Select current word. This depends on behaviour of
37 // CursorLeftOneWord(), so it is patched as well.
38 void getWord(LyXText &, LyXCursor & from, LyXCursor & to, lyx::word_location const loc,
39 ParagraphList const & pars);
41 #endif // TEXT_FUNCS_H