public void DoEnd()
{
#if DEBUG
if (dbugEnableTextManRecorder)
{
dbugTextManRecorder.WriteInfo("TxLMan::DoEnd");
dbugTextManRecorder.BeginContext();
}
#endif
textLineWriter.CharIndex = textLineWriter.CharCount - 1;
#if DEBUG
if (dbugEnableTextManRecorder)
{
dbugTextManRecorder.EndContext();
}
#endif
}
public void DoHome()
public void DoEnd(bool pressShitKey) { if (!pressShitKey) { internalTextLayerController.DoEnd(); internalTextLayerController.CancelSelect(); } else { internalTextLayerController.StartSelectIfNoSelection(); internalTextLayerController.DoEnd(); internalTextLayerController.EndSelect(); } EnsureCaretVisible(); }