TODO - gramscii - A simple editor for ASCII box-and-arrow charts DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- TODO (2204B) --- 1 + optimize redraws (redraw only the modified rectangle) 2 - add screen geometry option (-g 25x80?) 3 + implement trapezium 4 - implement ellipse 5 - (?) filled box (B) 6 - (?) manage filled box character (as for other styles) 7 + parse control characters 8 + parse arrows (text-mode will allow movements as well) 9 - (?) implement CTRL+G as abort (aside ESC) 10 - (?) remove extra blanks until EOL when saving to file 11 - manage special chars (DEL/CANC) during text insert 12 (also do not print unmanaged chars!) 13 - allow scrolling (both vertical and horizontal) 14 - catch SIGWINCH and react appropriately (after scrolling is 15 enabled) 16 * add position marks (Ma / g'a) 17 * implement comment (#: ignore everything until the end of the line) 18 * implement parallelogram mode (z/Z) 19 * fix bug in reading commands from files 20 * fix bug in visual crop 21 * read file at point 22 * read output of command (!) 23 * fix bug with 'g' commands in arrow mode 24 * undo (by storing lines changed across insert/remove operations) 25 * re-organise undo-ring management 26 * add undo for arrow mode 27 * add undo for text mode 28 * add undo for erase mode 29 * visual selection 30 * crop-to-rectangle 31 * yank 32 * fill 33 * cut 34 * put yanked content (p) 35 * turn screen into a lineset 36 * change alloc/ensure functions to work on line_t* and lineset_t* 37 * add crop command (C) 38 * reorganise code 39 * change screen management (i.e., dynamic array of lines) 40 * add action multiplier (e.g., "7h" moves left by 7 cols) 41 * add scripting mode option ("-s"?) 42 * auto-arrow 'A' (automatic end-char) 43 * move configs in config.h 44 * get screen geometry 45 * allow the use of [ENTER] to confirm arrow, boxes (useful 46 for scripting) 47 * add Makefile 48 * change "g" command: 49 - g-g (goto top-left) 50 - g-G (goto bottom-right) 51 - g-m (goto middle) 52 - g-[hjkl] (goto leftmost, bottom, top, rightmost) 53 * move style commands in a separate function 54 (and allow style change in all the modes...) 55 * add "vis" (for visual) in mode strings 56 * implement "." to reset styles to defaults. 57 * load from file 58 * check if modified on exit 59 * write to new file / default file 60 * delete -- 'x' 61 * save to file 62 * implement arrow 63 * set different line styles (done for hl, vl, corner) 64 * add status bar 65 * implement box