Skip to content

Ensure cursor is valid if only --line is set

Eric Armbruster requested to merge eric/kate:work/eric/fix-cmdopt-line into master

Regression in 7baf0df7

We need to make sure the cursor is valid if only the --line or only the --column argument is set.

To achieve this, set the default value for column and line to 0 and explicitly return an invalid cursor when both options are not set.

BUG: 453689

Merge request reports