code: def __init__(self, on_update):
      super().__init__()
      self.on_update = on_update
      self.lastText = None
  
imports: import numpy
  from ...graphicsItems.LinearRegionItem import LinearRegionItem
  from ...Qt import QtCore, QtWidgets
  from ...widgets.TreeWidget import TreeWidget
  from ..Node import Node
  from .None import functions
  from .common import CtrlNode
label_desc: Use image node_id 1 to create a new TextEdit object from inherited base classes: QtWidgets with example: obj = TextEdit(on_update)