git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72072
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (!extendSel)
SelectNone();
- SetCaretPosition(newPos);
+ SetCaretPosition(newPos, true);
PositionCaret();
SetDefaultStyleToCursorStyle();
SelectNone();
m_caretPosition = pos - 1;
+ m_caretAtLineStart = true;
PositionCaret();
m_rich->AddParagraph("This is paragraph one");
m_rich->AddParagraph("Paragraph two\n has \nlots of\n lines");
- m_rich->MoveCaret(1);
+ m_rich->SetInsertionPoint(2);
CPPUNIT_ASSERT_EQUAL(1, m_rich->GetCaretPosition());