You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem might be caused by the config/ox.ron. Right now, CTRL+UP and CTRL+DOWN is binded to "move line up" and "move line down" respectively. I suspect that there's something wrong with the macro itself.
I'm new to this project, but I suspect the macro is using the instruction inside of interpret_line(...) in oxa.rs right? I think the problem can be solved by fixing the behavior of Event::InsertLineBelow and Event::InsertLineAbove in the match scope inside of execute(...) in document.rs.
Correct me if I'm wrong, I consider myself a noob at this.
Describe the bug
If a file contains one line, and Ctrl-Up or Ctrl-Down is pressed, the line is duplicated.
To Reproduce
Expected behavior
Editor must do nothing, because the line cannot be moved.
Actual behavior
The line is duplicated.
Screenshots
Before:
After pressing of Ctrl-Up:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: