Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.53 KB

File metadata and controls

57 lines (46 loc) · 1.53 KB

TODO

Cursor

  • Cursor shouldn't move on empty space
  • Cursor should have a memory of the last horizontal position

Editor

  • Insert text at cursor
  • Delete text at cursor (backspace)
    • Needs work
  • Enter key should insert a new line
  • Only Render the visible lines
  • Set cursor position with mouse
    • Is off by a few pixels (fixed by subtracting editors window padding.)
  • Ctrl+backspace to delete a word before the cadet
  • Scrolling
    • Scroll wheel
    • Follow cursor
    • Page up/down
    • Ctrl + Home/end
  • Duplicate line with Ctrl+Shift+Arrow
  • Move line up/down with Alt+Arrow
  • Save file (Ctrl+S)
  • Selection
    • Select text (Shift+Movement) or (Ctrl+A)
    • Copy selected text (Ctrl+C)
    • Paste text (Ctrl+V)
    • Cut selected text (Ctrl+X)
    • Delete selected text
  • Undo/Redo

File

  • Save file
  • Load file
  • Take command line argument for file address

Known Bugs

  • viewportLineCount doesnt work properly
    • To recreate, shift+Q to reduce the vertical spacing then ctrl+Q x2 to reduce font. you will see linenumbers disappear after a certain number of lines.
    • fixed but still off by 1 sometimes!
  • vertical line spacing changes when zooming for the first time
  • ctrl L and crrl H do two different things!
  • Zoom in does one more zoom level than necessary (goes to 5 instead of max of 4)

Notes

Things to do next:

  1. Save file
  2. Undo/Redo
  3. Selection and copy paste
  4. Image Effects
  5. Imgui debug