ILEditor
ILEditor copied to clipboard
SEU line number commands GUI start (WIP)
This is to make it possible to enter commands per line number. This is a work in progress.
Here are the tasks needed that I can think of to merge:
- [x] Bug Fix with a document having only 1 line does not show the line numbers, and when you add lines the line numbers start at 3.
- [X] Initial work to show textboxes when mouse hovers over a line number
- [X] Needs to be just as fast as the regular line number margin. Right now scrolling and other interaction is noticeably slow.
- [X] There seems like a bug with line numbers sometimes not being in the right order. The model driven approach may have overlooked something.
- [x] Figure out why my pull request has a merge I did on my fork to update from WorksOfBarry/ILEditor
- [X] Bug Fix to show the line numbers in the beginning
- [x] Bug Fix needed to make typeing more text than available in textbox either make margin wider or just fix the width of the textbox so that overflow text is out of visibility.
- [x] UI Work to make the line numbers be right adjusted instead of left adjusted (To match AvalonEdit default)
- [X] UI Work to make the line number margin wider (Maybe 2 or 3 extra character lengths)
- [X] UI Work to make it where they don't immediately switch back to line number when mouse leaves textbox
- [x] Events or something to trigger when a user has pressed enter in a command or however it needs to work
- [x] UI Work showing/hiding text command entry, command display
- [x] Implement d
- [ ] Implement dd
- [ ] Implement i
- [ ] Implement i of n (i2, i3, in, etc...) - Inserting n lines instead of just 1
- [x] Implement arrow key to the right inside CommandText textbox makes cursor go to line number in AvalonEdit, and hides command mode.
- [x] Implement arrow key to the left inside AvalonEdit show CommandTextbox and put cursor inside it
- [x] Implement up and down arrow keys move up and down line number commands, closing the one they left as they go. Will have to use events to signal up or down
@NathanielACollier Any updates on this? :)
I haven't had time to work on it. There are one or two issues that need to be fixed but it's pretty close except for commands being implemented.