Skip to content

[gui] 'Shift'+'Enter' inserts line below instead of above when cursor is at line start #2706

@gemesa

Description

@gemesa

Issue details

My usecase:

I want to add a new line before the current one, so I position the cursor at the beginning. When I press 'Shift' + 'Enter', a new line is inserted after instead. Since the cursor is at the start I would expect the new line to appear above.

Step 1: position the cursor at the beginning of the line
Image

Step 2: press 'Shift' + 'Enter'
Notice the cursor remains at the same position.
Image

Step 3: press 'Down Arrow'
The new line was added but below rather than above.
Image

Jadx version

dev (commit cf0101f)

Java version

21.0.7

OS

  • Windows
  • Linux
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIIssues in jadx-gui modulebug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions