[GREENFOOT-466] Left at top of method with throws declaration adds a parameter
If you have a method/constructor with no parameters but a throws declaration, and you focus the cursor at the top of the body and press left, a parameter will be added (but the last throws exception will be correctly focused), and then removed as soon as you move focus. It should not be added in this case.
Relatedly, when you do then go left into the parameters from the first throws type, no blank parameter will be added, and you will skip the parameters. A parameter should be added in this case.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.1