From eebc645dee0d15871d6cc46f156d424cd916b191 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Tue, 30 Jul 2019 12:15:54 +0100 Subject: yank buffer and initial copy/cut/paste support --- TODO | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index c04d8f3..71689fc 100644 --- a/TODO +++ b/TODO @@ -6,8 +6,8 @@ - use [ENTER] to exit from text insert - maybe move "text" mode to "t" - implement ellipse -- filled box (B) -- manage fill character (as for other styles) +- (?) filled box (B) +- (?) manage filled box character (as for other styles) - implement comment (#: ignore until the end of the line) + parse control characters + parse arrows (text-mode will allow movements as well) @@ -15,15 +15,18 @@ - (?) remove extra blanks until EOL when saving to file + visual selection - crop-to - - yank/put + * yank * fill - * delete + * cut - undo (by storing lines changed across insert/remove operations) - manage special chars (DEL/CANC) during text insert (also do not print unmanaged chars!) - allow scrolling (both vertical and horizontal) - catch SIGWINCH and react appropriately (after scrolling is enabled) +* put yanked content (p) +* turn screen into a lineset +* change alloc/ensure functions to work on line_t* and lineset_t* * add crop command (C) * reorganise code * change screen management (i.e., dynamic array of lines) -- cgit v1.2.3