}
    public void actionPerformed(ActionEvent event)    {      JTextComponent t = getTextComponent(event);              Caret c = t.getCaret();              try                {          int offs = Utilities.getRowStart(t, c.getDot());                  c.setMagicCaretPosition(t.modelToView(offs).getLocation());                }              catch(BadLocationException ble)              {                // Can't happen.              }    }