-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete Row Functionality #114
Conversation
Added the 'remove_current_line' functionality, executable with 'Ctrl + R'
Added the 'Ctrl-R' shortcut to the documentation
Changed the 'Ctrl-R' action text
Hi Jorge, thank you for your contribution! Unfortunately, the total line of code count for the project increases to 1027 with this PR, which is slightly above the limit (1024). Could you try trimming it down? You may be able to reuse self.delete_char() in your function: I think that deleting a row is equivalent to clearing the row, then pressing "backspace" |
I trimmed down my function a little bit, now it has fewer lines and completely deletes the line. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes!
Deleted the file and made the change |
@all-contributors please add @imreyesjorge for code |
I've put up a pull request to add @imreyesjorge! 🎉 |
While using this cool code editor I missed one of my favorite things in VIM, removing entire rows at once.
Hope you find this useful 😄