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

DoEnd() public method

public DoEnd ( ) : void
return void
        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()

Usage Example

        public void DoEnd(bool pressShitKey)
        {
            if (!pressShitKey)
            {
                internalTextLayerController.DoEnd();
                internalTextLayerController.CancelSelect();
            }
            else
            {
                internalTextLayerController.StartSelectIfNoSelection();
                internalTextLayerController.DoEnd();
                internalTextLayerController.EndSelect();
            }

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