Up Next:
+* Right click in tags region should search edit region
* Implement X Selection protocol for handling clipboard and primary selections
* Add keyboard shortcut to highlight the thing under the cursor
* Tag line count should account for wrapped lines
* invalid memory accesses while viewing docs/waf
* check for file changes on save
* check for file changes when window regains focus
+* Use $SHELL if defined, fallback on /bin/sh
+* Set ENV to ~/.config/edit/rc if undefined
The Rest:
+* Selection bug when selecting text with tabs
* add a distinct state for pointer move versus drag
* Add a SaveAs tag that takes an argument for the filename to save as
* Add a GoTo tag for ctags lookup and line number jump
* 100% coverage with unit and unit-integration tests
* shortcut to repeat previous operation
+The Future:
+
+* Run commands in the background and don't block the main thread.
+
# Auxillary Programs
* Acme-like window manager
}
char* chomp(char* in) {
- return strtok(in, "\r\n");
+ char* pos = strrchr(in, '\n');
+ if (pos) *pos = '\0';
+ return in;
}