Wish: Make Ctrl+A work on command line

Hi,

I sometimes type a wrong command and want to start over.
I intuitively press Ctrl + A on my keyboard to select all text as in any text editor.
image

So that I can then press delete shortcut on my mouse.

But it does not work with the command line. Two scenarios happen:

  1. It selects nothing (drop down auto complete menu is still open)
  2. It select all geometry in model.

Hello - use Esc to clear the command line . I don’t know Ctrl-A could be made to select at the command line and not in the model- if the autocomplete menu is open would be a possibility, maybe, I don’t now how feasible that is. I’d use Esc.

-Pascal

Hi Pascal. Ctrl + A works fine when editing layer names.

I was describing the current behavior when I talked about the auto complete menu.

Ctrl+A should work in both scenarios. Either when autocomplete menu is open or not.

Typed input in Rhino is very complicated in Rhino. In most other apps, you have to click in the text are where you want to type. When you click in a layer name, the layer name edit box has focus, and that focus makes it so the keyboard events you’re used to work.

But when Rhino itself has focus, it’s the viewports that get the keyboard typing events. We interpret what happens when you’re typing to mean different things. All the keyboard shortcuts (Ctl+A, for example) actually run commands when you run them. In this case, SelAll.

If we were to make it work such that the command like interpreted Ctl+A as “select all the text” we’d also need to make it so that you have to click in the command line every time you wanted to type. Or you need to click in the viewport to give it focus after you type.

Anyway, it’s complicated, and maybe this helps you understand why typing Esc is how you need to clear the typed commands. (And it frustrates me that this isn’t even consistently possible on Mac).

It is true having the command line automatically start typing when you type is ideal and I see how that affects other things.

I will use Esc, not problem. It is a tiny detail anyways.

But, theoretically, can’t the behavior be, once the user has typed a single character, make command line work as a text editor? I noticed left and right arrows also don’t work, and they nudge instead, or cycle the autocomplete menu up and down (even though I am pressing left and right).

Perhaps, but then you wouldn’t be able to type:

Expo Ctl+A rt [enter]
and export everything.

Believe me someone would complain if we broke this.