* src/lyxtext.h: the use of backspacePos0 is dangerous as it

does not honour change tracking => make it a private method;
	clarify the description of backspacePos0 (it does not always
	merge paragraphs)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16033 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2006-11-24 22:26:22 +00:00
parent 7fcc942eec
commit 3c348b6486

View File

@ -231,11 +231,6 @@ public:
bool cursorBottom(LCursor & cur);
/// Erase character at cursor. Honour change tracking
bool erase(LCursor & cur);
/** At cursor position 0, merge paragraph with the one before it.
* Ignore CT (this is used in \c acceptChange, \c rejectChange for
* physical deletion of paragraph break)
*/
bool backspacePos0(LCursor & cur);
/// Delete character before cursor. Honour CT
bool backspace(LCursor & cur);
// Dissolve the inset under cursor
@ -385,6 +380,10 @@ private:
// position. Called by deleteEmptyParagraphMechanism
void fixCursorAfterDelete(CursorSlice & cur, CursorSlice const & where);
// At cursor position 0, try to merge the paragraph with the one before it.
// Ignore change tracking, i.e., physically remove the end-of-par character
bool backspacePos0(LCursor & cur);
///
void deleteWordForward(LCursor & cur);
///