Back to Website
Show / Hide Table of Contents

Class InsertNewLineCmd

The command to insert a new line relative to the current cursor position.

Package: @aurigma/design-atoms-text
Remarks

if there is selected text, it will be deleted.

Constructors

(constructor)(_textManager, _initData)

Constructs a new instance of the InsertNewLineCmd class

Declaration
constructor(_textManager: ITextManager, _initData: InsertNewLineCmdData);
Parameters
Type Name Description
ITextManager _textManager
InsertNewLineCmdData _initData

Methods

execute()

Declaration
execute(): boolean;
Returns
Type Description
boolean
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback