Up Next:
+* refactor selection handling to buf.c to prepare fo rmultiple selections.
* refactor x11.c and win.c
* Make Fn keys execute nth command in the tags buffers
* Run commands in the background and don't block the main thread.
+++ /dev/null
-# Issue List
-
-Up Next:
-
-* refactor x11.c and win.c
-* Make Fn keys execute nth command in the tags buffers
-* Run commands in the background and don't block the main thread.
-* check for file changes on save
-* check for file changes when window regains focus
-* 100% coverage with unit and unit-integration tests
-* right click to fetch file or line
-* Status line should omit characters from beginning of path to make file path fit
-
-Straight-up Bugs:
-
-* double free error on picking a tag with nothing in the buffer
-* fix crash on saving read-only file
-* fix crash on save to file that can't be created
-* tab inserts dont coalesce like one would expect
-
-The Future:
-
-* shortcut to repeat previous operation
-* add command line flags to toggle options (Tabs, Indent, etc..)
-* add command env vars to set options (Tabs, Indent, etc..)
-* implement command diffing logic to optimize the undo/redo log
-
-# Auxillary Programs
-
-* Visual diff tool
-* Win-like terminal emulator
-* File browser
-* Acme-like window manager
size_t off = getoffset(view, row, col);
if (off != SIZE_MAX) {
view->selection.end = off;
+ view->selection.col = buf_getcol(&(view->buffer), view->selection.end);
view_scrollto(view, view->selection.end);
}
}
Sel sel = view->selection;
selcontext(view, &sel);
sel.end = buf_byrune(&(view->buffer), sel.end, RIGHT);
+ sel.col = buf_getcol(&(view->buffer), sel.end);
view->selection = sel;
}
selcontext(view, &(view->selection));
view->selection.end = buf_byrune(
&(view->buffer), view->selection.end, RIGHT);
+ view->selection.col = buf_getcol(&(view->buffer), view->selection.end);
}
}