示例#1
0
 public override void setEditMode()
 {
     ensureEditWidgetExists(Table.TableWidget);
     if (!editWidget.Visible)
     {
         editWidget.Visible = true;
         if (staticWidget != null)
         {
             staticWidget.Visible = false;
         }
         InputManager.Instance.setKeyFocusWidget(editWidget);
         editWidget.setTextSelection(0, (uint)editWidget.OnlyText.Length);
     }
 }
示例#2
0
 public void selectAllText()
 {
     input.setTextSelection(0, uint.MaxValue);
 }