LayoutFarm.Text.InternalTextLayerController.CancelSelect C# (CSharp) Method

CancelSelect() public method

public CancelSelect ( ) : void
return void
        public void CancelSelect()
        {
#if DEBUG
            if (dbugEnableTextManRecorder)
            {
                dbugTextManRecorder.WriteInfo("TxLMan::CancelSelect");
            }
#endif
            selectionRange = null;
        }

Usage Example

コード例 #1
0
        public void DoHome(bool pressShitKey)
        {
            if (!pressShitKey)
            {
                internalTextLayerController.DoHome();
                internalTextLayerController.CancelSelect();
            }
            else
            {
                internalTextLayerController.StartSelectIfNoSelection();
                internalTextLayerController.DoHome();
                internalTextLayerController.EndSelect();
            }

            EnsureCaretVisible();
        }
All Usage Examples Of LayoutFarm.Text.InternalTextLayerController::CancelSelect