[GREENFOOT-446] Left into blank parameters focuses wrong field
If you are in a method with no parameters, and press left while the top frame cursor is focused, you create a parameter (good) and the text field gets focused (good). But it's the name that gets focused -- which makes sense if the parameter pre-existed. But I think if the parameters were blank, we should focus the type not the name.
This should probably also apply if the parameter does exist, but is blank. e.g. if you have a method {{setFoo(int x, +_ +_)}} (where underscores are blank fields), moving into it from right should focus the type when both the type and name are blank
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 3.0.1