Class NewTextEditor
  
  
  
  
  
  
  Constructors
  
  
  
  (constructor)(_clipboard, _inputTextValidator, _fontRegistry, _renderer)
  Constructs a new instance of the NewTextEditor class
Declaration
  
    constructor(_clipboard: IClipboard, _inputTextValidator: IInputTextValidator, _fontRegistry: IFontRegistry, _renderer: ITextEditorRenderer);
   
  Parameters
  
  Properties
  
  
  
  canRedo
  Indicates if the action can be redone.
Declaration
  
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | boolean | Indicates if the action can be redone. | 
    
  
  
  
  canUndo
  Indicates if the action can be undone.
Declaration
  
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | boolean | Indicates if the action can be undone. | 
    
  
  
  
  disableDrawBaseline
  
  
  Declaration
  
    get disableDrawBaseline(): boolean;
   
  Property Value
  
  
  
  editorInitialized
  Editor initialization event.
Declaration
  
    get editorInitialized(): EventObject<void>;
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | EventObject<void> | Editor initialization event. | 
    
  
  
  
  frameChanged
  
  
  Declaration
  
    get frameChanged(): EventObject<RectangleF>;
   
  Property Value
  
  
  
  
  
  highlightInEditingModeEnabled
  Indicates if the editor has to be highlighted when in editing mode.
Declaration
  
    get highlightInEditingModeEnabled(): boolean;
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | boolean | Indicates if the editor has to be highlighted when in editing mode. | 
    
  
  
  
  invalidCharEntered
  Invalid character input event.
Declaration
  
    get invalidCharEntered(): EventObject<void>;
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | EventObject<void> | Invalid character input event. | 
    
  
  
  
  isActive
  Indicates if the editor is in editing mode.
Declaration
  
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | boolean | Indicates if the editor is in editing mode. | 
    
  
  
  
  isReady
  Indicates if the editor is initialized and ready to work.
Declaration
  
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | boolean | Indicates if the editor is initialized and ready to work. | 
    
  
  
  
  redrawActiveTextInEditMode
  Indicates if the editor needs to redraw ActiveText when it is edited.
Declaration
  
    get redrawActiveTextInEditMode(): boolean;
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | boolean | Indicates if the editor needs to redraw ActiveText when it is edited. | 
    
  
  
  
  renderer
  Returns a text editor renderer.
Declaration
  
    get renderer(): ITextEditorRenderer;
   
  Property Value
  
  
  
  styleChanged
  Character or paragraph style change event.
Declaration
  
    get styleChanged(): EventObject<void>;
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | EventObject<void> | Character or paragraph style change event. | 
    
  
  
  
  textLimits
  
  
  Declaration
  
    get textLimits(): ITextLimits;
   
  Property Value
  
  
  
  textLimitsViolationEvent
  
  
  Declaration
  
    get textLimitsViolationEvent(): EventObject<ILimitsViolationEventData>;
   
  Property Value
  
  
  
  textMetrics
  
  
  Declaration
  
    get textMetrics(): ITextMetrics;
   
  Property Value
  
  
  
  textMetricsChangedEvent
  
  
  Declaration
  
    get textMetricsChangedEvent(): EventObject<ITextMetrics>;
   
  Property Value
  
  Methods
  
  
  
  dispose()
  
  
  Declaration
  
  Returns
  
  
  
  enterEditMode(point)
  
  
  Declaration
  
    enterEditMode(point: IPoint): void;
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IPoint | point |  | 
    
  
  Returns
  
  
  
  executeCommand(commandType, initData)
  Executes a command of the specified type.
Declaration
  
    executeCommand(commandType: CommandType, initData?: any): void;
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | CommandType | commandType | type of command. | 
      
        | any | initData | data required to initialize the command. | 
    
  
  Returns
  
  
  
  exitEditMode()
  
  
  Declaration
  
  Returns
  
  
  
  getFormattedText()
  
  
  Declaration
  
    getFormattedText(): Promise<string>;
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Promise<string> |  | 
    
  
  
  
  getInlineStyle()
  
  
  Declaration
  
    getInlineStyle(): ICharStyle;
   
  Returns
  
  
  
  getParagraphStyle()
  
  
  Declaration
  
    getParagraphStyle(): IParagraphStyle;
   
  Returns
  
  
  
  getTextModel()
  
  
  Declaration
  
  Returns
  
  
  
  initialize(tw, itemData, listStyleSheetManager)
  Initializes the text editor.
Declaration
  
    initialize(tw: ITextEngineWrapper, itemData: TextEditorInitData, listStyleSheetManager: IListStyleSheetManager): void;
   
  Parameters
  
  Returns
  
  
  
  isApplyingListsEnabled()
  
  
  Declaration
  
    isApplyingListsEnabled(): boolean;
   
  Returns
  
  
  
  isBulletedList()
  
  
  Declaration
  
    isBulletedList(): boolean;
   
  Returns
  
  
  
  isIndentationEnabled()
  
  
  Declaration
  
    isIndentationEnabled(): boolean;
   
  Returns
  
  
  
  isIndentationHidden()
  
  
  Declaration
  
    isIndentationHidden(): boolean;
   
  Returns
  
  
  
  isNumberedList()
  
  
  Declaration
  
    isNumberedList(): boolean;
   
  Returns
  
  
  
  processKeyEvent(e)
  
  
  Declaration
  
    processKeyEvent(e: IKeyboardEvent): Promise<boolean>;
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Promise<boolean> |  | 
    
  
  
  
  processMouseEvent(e)
  
  
  Declaration
  
    processMouseEvent(e: IMouseEvent): boolean;
   
  Parameters
  
  Returns
  
  
  
  processZoomChangedEvent()
  
  
  Declaration
  
    processZoomChangedEvent(): Promise<boolean>;
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Promise<boolean> |  | 
    
  
  
  
  redo()
  
  
  Declaration
  
  Returns
  
  
  
  redraw()
  
  
  Declaration
  
  Returns
  
  
  
  setFontRegistry(fontRegistry)
  
  
  Declaration
  
    setFontRegistry(fontRegistry: IFontRegistry): void;
   
  Parameters
  
  Returns
  
  
  
  setInlineStyle(style)
  
  
  Declaration
  
    setInlineStyle(style: ICharStyle): Promise<void>;
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Promise<void> |  | 
    
  
  
  
  setParagraphStyle(style)
  
  
  Declaration
  
    setParagraphStyle(style: IParagraphStyle): Promise<void>;
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Promise<void> |  | 
    
  
  
  
  undo()
  
  
  Declaration
  
  Returns