span style="color:navy"><b>PROCEDURE</b></span> updatecaret;
        
        <span style="color:navy"><b>PROCEDURE</b></span> dokeydown (var kinfo: keyeventinfoty);
        <span style="color:navy"><b>PROCEDURE</b></span> mouseevent (var minfo: mouseeventinfoty);
        <span style="color:navy"><b>PROCEDURE</b></span> updatepopupmenu (var amenu: tpopupmenu; const popupmenu: tpopupmenu;
                          var mouseinfo: mouseeventinfoty;
                          const hasselection: boolean);
      