Interface ITextEditorRenderer
  
  
  
  
  Methods
  
  
  
  clearCursor()
  
  
  Declaration
  
  Returns
  
  
  
  drawCursor(callback)
  
  
  Declaration
  
    drawCursor(callback: (context: CanvasRenderingContext2D) => void): void;
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | (context: CanvasRenderingContext2D) => void | callback |  | 
    
  
  Returns
  
  
  
  drawDesign()
  
  
  Declaration
  
  Returns
  
  
  
  drawSelection(textHandler, selection)
  
  
  Declaration
  
    drawSelection(textHandler: TextWhizz.TextHandler, selection: TextWhizz.TextRange): void;
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | TextWhizz.TextHandler | textHandler |  | 
      
        | TextWhizz.TextRange | selection |  | 
    
  
  Returns
  
  
  
  drawText(textHandler)
  
  
  Declaration
  
    drawText(textHandler: TextWhizz.TextHandler): void;
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | TextWhizz.TextHandler | textHandler |  | 
    
  
  Returns