public void StartSelectIfNoSelection()
{
if (this.selectionRange == null)
{
this.StartSelect();
}
}
public void EndSelectIfNoSelection()
public void DoHome(bool pressShitKey) { if (!pressShitKey) { internalTextLayerController.DoHome(); internalTextLayerController.CancelSelect(); } else { internalTextLayerController.StartSelectIfNoSelection(); internalTextLayerController.DoHome(); internalTextLayerController.EndSelect(); } EnsureCaretVisible(); }