led/todo.md
Nathan Vegdahl f56d3f0ad4 Split remove_text() into remove_text_before() and remove_text_after().
This is useful so that undo knows where to put the cursor.
2015-01-11 00:59:02 -08:00

979 B

  • Custom line iterator code for file loading, because rust's built-in one only recognizes LF and CRLF.

  • Line number display

  • File opening by entering path

  • UI that wraps editors, for split view.

  • Redo functionality

  • Clean up text buffer interface:

    • Editing (these are undoable): //- insert_text //- remove_text_before //- remove_text_after //- move_text
    • Undo functionality: //- Undo //- Redo
      • Op section begin (for delimiting composite edit operations)
      • Op section end
    • Info: //- grapheme_count //- line_count
    • Position conversions: //- index -> line_col //- line_col -> index //- index -> vis_2d //- vis_2d -> index
    • Reading text:
      • grapheme at index (includes visual width in return)
      • Bidirectional grapheme iterator (useful for search code, etc.)
      • Bidirectional ine iterator (useful for display code)