]>
git.mdlowis.com Git - projs/tide.git/log
Michael D. Lowis [Tue, 4 Apr 2017 14:51:52 +0000 (10:51 -0400)]
removed some redundant code in view.c
Michael D. Lowis [Tue, 4 Apr 2017 14:12:44 +0000 (10:12 -0400)]
Tweaked right click behavior to always search the content region
Michael D. Lowis [Tue, 4 Apr 2017 01:29:51 +0000 (21:29 -0400)]
updated xedit man page
Michael D. Lowis [Mon, 3 Apr 2017 23:53:00 +0000 (19:53 -0400)]
updated xedit man page
Michael D. Lowis [Mon, 3 Apr 2017 02:00:12 +0000 (22:00 -0400)]
Updated man page documentation for edit and xedit
Michael D. Lowis [Sun, 2 Apr 2017 19:12:49 +0000 (15:12 -0400)]
jumpto now uses sync view to ensure we dont overscroll. Eventually sync_view should be made more efficient by doing a quick jump to an offset and then slide into place from there. for now this will be usable on all but the largest files
Michael D. Lowis [Sun, 2 Apr 2017 18:51:36 +0000 (14:51 -0400)]
don't reset the cursor to zero when setext is called
Michael D. Lowis [Sun, 2 Apr 2017 01:25:04 +0000 (21:25 -0400)]
fixed bug in tag completion shortcut
Michael D. Lowis [Wed, 29 Mar 2017 13:51:50 +0000 (09:51 -0400)]
Make sure markdown docs are actually markdown compatible
Michael D. Lowis [Wed, 29 Mar 2017 13:50:04 +0000 (09:50 -0400)]
Make sure markdown docs are actually markdown compatible
Michael D. Lowis [Tue, 28 Mar 2017 01:37:15 +0000 (21:37 -0400)]
started initial work on xedit man page
Michael D. Lowis [Tue, 28 Mar 2017 00:46:28 +0000 (20:46 -0400)]
Temporary fix for overlong status lines
Michael D. Lowis [Tue, 28 Mar 2017 00:39:30 +0000 (20:39 -0400)]
added logic to open target files with working dir set to root of containing projects
Michael D. Lowis [Mon, 27 Mar 2017 15:13:55 +0000 (11:13 -0400)]
Updated edit and xpick man pages
Michael D. Lowis [Mon, 27 Mar 2017 13:35:18 +0000 (09:35 -0400)]
Updated edit script to open files relative to the dir containing the project's ctags file
Michael D. Lowis [Mon, 27 Mar 2017 12:30:18 +0000 (08:30 -0400)]
Updated todo list
Michael D. Lowis [Mon, 27 Mar 2017 12:29:56 +0000 (08:29 -0400)]
Updated win.c api to allow creating a dialog or a normal window
Michael D. Lowis [Mon, 27 Mar 2017 01:57:46 +0000 (21:57 -0400)]
updated TODO list
Michael D. Lowis [Mon, 27 Mar 2017 01:56:10 +0000 (21:56 -0400)]
added more documentation to edit man page
Michael D. Lowis [Mon, 27 Mar 2017 00:48:28 +0000 (20:48 -0400)]
added man pages stubs and moved previous docs to testdocs
Michael D. Lowis [Sun, 26 Mar 2017 00:22:35 +0000 (20:22 -0400)]
selecting last line should not select past end of buffer on line-select
Michael D. Lowis [Sun, 26 Mar 2017 00:12:54 +0000 (20:12 -0400)]
Correct the positioning of the ruler
Michael D. Lowis [Sat, 25 Mar 2017 23:12:18 +0000 (19:12 -0400)]
added optional column ruler
Michael D. Lowis [Sat, 25 Mar 2017 18:36:11 +0000 (14:36 -0400)]
Merge changes from common-ui branch
Michael D. Lowis [Sat, 25 Mar 2017 18:27:25 +0000 (14:27 -0400)]
switch picker over to common ui
Michael D. Lowis [Fri, 24 Mar 2017 18:40:56 +0000 (14:40 -0400)]
genral cleanup
Michael D. Lowis [Fri, 24 Mar 2017 17:07:35 +0000 (13:07 -0400)]
Generalized scrollbar behavior to hopefully apply to picker and editor with ease
Michael D. Lowis [Fri, 17 Mar 2017 17:18:41 +0000 (13:18 -0400)]
Make sure files end in newlines
Michael D. Lowis [Fri, 17 Mar 2017 16:27:03 +0000 (12:27 -0400)]
Updated TODO list
Michael D. Lowis [Fri, 17 Mar 2017 16:26:50 +0000 (12:26 -0400)]
reprioritized selection logic so that blocks will be selected when the brace is the first character on a line
Michael D. Lowis [Fri, 17 Mar 2017 16:25:26 +0000 (12:25 -0400)]
searching should only change focus and warp pointer when a match is found
Michael D. Lowis [Sun, 5 Mar 2017 00:45:45 +0000 (19:45 -0500)]
added shortcut to complete tag using fuzzy picker
Michael D. Lowis [Sat, 4 Mar 2017 18:53:27 +0000 (13:53 -0500)]
Added a keyboard shortcut to search for previous search term (even if its been deleted)
Michael D. Lowis [Fri, 3 Mar 2017 21:33:44 +0000 (16:33 -0500)]
removed dead code
Michael D. Lowis [Fri, 3 Mar 2017 21:13:55 +0000 (16:13 -0500)]
reworked row limiting code to properly handle long lines that wrap in the tag region
Michael D. Lowis [Fri, 3 Mar 2017 20:30:25 +0000 (15:30 -0500)]
Fixed crash when saving an empty file
Michael D. Lowis [Fri, 3 Mar 2017 14:43:43 +0000 (09:43 -0500)]
Fixed delete functionality to make deleting by word work as expected. Also tweaked movement by word so it behaves more reasonably
Michael D. Lowis [Fri, 3 Mar 2017 01:04:39 +0000 (20:04 -0500)]
Fixed a bug in the new shortcut handler
Michael D. Lowis [Fri, 3 Mar 2017 01:02:16 +0000 (20:02 -0500)]
added shortcuts to create new line before or after the current line
Michael D. Lowis [Tue, 28 Feb 2017 15:45:15 +0000 (10:45 -0500)]
updated TODO
Michael D. Lowis [Tue, 28 Feb 2017 15:37:55 +0000 (10:37 -0500)]
Fixed issue where default crlf was being ignored for new files
Michael D. Lowis [Tue, 28 Feb 2017 14:10:38 +0000 (09:10 -0500)]
tweaked algorithm for middle click jumping through a document. still not quite right but i'll revisit it later
Michael D. Lowis [Mon, 27 Feb 2017 19:57:09 +0000 (14:57 -0500)]
refactored mouse handlers and fixed a divide by zero in scrollbar math
Michael D. Lowis [Sun, 26 Feb 2017 21:43:45 +0000 (16:43 -0500)]
corrected some of the math for drawing the scroll bar
Michael D. Lowis [Sun, 26 Feb 2017 19:55:27 +0000 (14:55 -0500)]
inverted colors of thumb and scroll region
Michael D. Lowis [Sun, 26 Feb 2017 19:50:29 +0000 (14:50 -0500)]
added logic to draw the scrollbar thumb proportional to the visible content and position in the file
Michael D. Lowis [Sun, 26 Feb 2017 00:59:10 +0000 (19:59 -0500)]
implemented scrollbar with left/right mouse button
Michael D. Lowis [Sat, 25 Feb 2017 23:14:10 +0000 (18:14 -0500)]
Fixed bug in makefile
Michael D. Lowis [Sat, 25 Feb 2017 22:18:42 +0000 (17:18 -0500)]
Added back in pointer warping logic for search
Michael D. Lowis [Fri, 24 Feb 2017 22:43:50 +0000 (17:43 -0500)]
added scrollbar to TODO list
Michael D. Lowis [Fri, 24 Feb 2017 22:13:48 +0000 (17:13 -0500)]
fixed selection bug when running a reverse selection through an external command
Michael D. Lowis [Fri, 24 Feb 2017 22:13:02 +0000 (17:13 -0500)]
Tweaked build scripts
Michael D. Lowis [Mon, 6 Feb 2017 19:43:24 +0000 (14:43 -0500)]
All tests except cut/copy/paste tests are now passing
Michael D. Lowis [Mon, 6 Feb 2017 17:30:06 +0000 (12:30 -0500)]
majority of unit tests for xedit.c back up and running with the hidden X11 window
Michael D. Lowis [Mon, 6 Feb 2017 00:13:47 +0000 (19:13 -0500)]
Checkpoint commit. unit tests back to building and running but with several confusing failures
Michael D. Lowis [Fri, 3 Feb 2017 21:23:49 +0000 (16:23 -0500)]
Restructured code to better facilitate unit testing
Michael D. Lowis [Fri, 3 Feb 2017 19:01:38 +0000 (14:01 -0500)]
Reworked unit tests to have one test executable per real executable and one catch-all for the library
Michael D. Lowis [Fri, 3 Feb 2017 14:13:34 +0000 (09:13 -0500)]
Fixed an issue where dragging with the left button would change the selection in multiple regions
Michael D. Lowis [Fri, 3 Feb 2017 14:08:10 +0000 (09:08 -0500)]
xedit.c is now 100% functional using the new win ui layer. unit tests no longer build though. Need to rethink how those work.
Michael D. Lowis [Thu, 2 Feb 2017 18:54:07 +0000 (13:54 -0500)]
Initial commit of new win module to commonize the ui
Michael D. Lowis [Thu, 2 Feb 2017 17:45:52 +0000 (12:45 -0500)]
Tweaked some existing rc functions and added the term function to launch terminal in the current dir
Michael D. Lowis [Thu, 2 Feb 2017 17:40:00 +0000 (12:40 -0500)]
Don't bother setting the callback if there is no selection owner
Michael D. Lowis [Thu, 2 Feb 2017 17:38:48 +0000 (12:38 -0500)]
fixed view api to not segfault when a view has 0 rows
Michael D. Lowis [Thu, 2 Feb 2017 17:37:56 +0000 (12:37 -0500)]
Removed unused commands left over from pre-X11 selection handling
Michael D. Lowis [Wed, 1 Feb 2017 15:45:21 +0000 (10:45 -0500)]
Added hex editing routines and a shebang to clearly mark the file as a bash script. This is mostly for documentation purposes
Michael D. Lowis [Wed, 1 Feb 2017 13:47:23 +0000 (08:47 -0500)]
rearranged TODO list
Michael D. Lowis [Wed, 1 Feb 2017 13:47:03 +0000 (08:47 -0500)]
Added rc function to add line numbers to a document
Michael D. Lowis [Wed, 1 Feb 2017 13:39:57 +0000 (08:39 -0500)]
Added ignore macro to atf to skip problematic tests
Michael D. Lowis [Wed, 1 Feb 2017 00:08:17 +0000 (19:08 -0500)]
added functions to rc file for adding and removing line numbers as well as trimming trailing whitespace
Michael D. Lowis [Tue, 31 Jan 2017 19:41:54 +0000 (14:41 -0500)]
Fixed issue with unit tests, added a new etabs function to the rc file and tweaked the edit script to load the rc file exactly once
Michael D. Lowis [Tue, 31 Jan 2017 17:03:49 +0000 (12:03 -0500)]
Fixed X11 selection protocol. Now we respond to targets requests instead of ignoring them
Michael D. Lowis [Tue, 31 Jan 2017 16:38:21 +0000 (11:38 -0500)]
Merge changes from master
Michael D. Lowis [Tue, 31 Jan 2017 13:42:08 +0000 (08:42 -0500)]
Added function to rc file for grepping the buffer
Michael D. Lowis [Tue, 31 Jan 2017 13:35:17 +0000 (08:35 -0500)]
Added example editrc file with some useful tools and tag lines
Michael D. Lowis [Tue, 31 Jan 2017 13:31:27 +0000 (08:31 -0500)]
Added logic to load an RC file in the edit wrapper script and each subshell for command execution. This allows the user to define functions that may be used from within the editor for some shells (bash) nad to configure environment variables for use in and by the editor
Michael D. Lowis [Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)]
Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before looking for shortcut entries
Michael D. Lowis [Mon, 30 Jan 2017 17:47:40 +0000 (12:47 -0500)]
Fixed bug in handling keyboard shortcuts. Lock modifiers are now masked away before looking for shortcut entries
Michael D. Lowis [Mon, 30 Jan 2017 17:46:03 +0000 (12:46 -0500)]
Switch cut/copy/paste over to using X11 clipboard selection
Michael D. Lowis [Tue, 17 Jan 2017 15:29:58 +0000 (10:29 -0500)]
Added option to override tag region contents with EDITTAGS env var
Michael D. Lowis [Mon, 16 Jan 2017 15:15:25 +0000 (10:15 -0500)]
Fixed crappy implementation of chomp with slightly less crappy version of chomp
Michael D. Lowis [Thu, 12 Jan 2017 15:39:43 +0000 (10:39 -0500)]
> dumps output to the tags buffer so the output should be chomped to ensure we dont wast screen space with a blank line
Michael D. Lowis [Thu, 12 Jan 2017 14:52:12 +0000 (09:52 -0500)]
the > sigil should append the output to the tags buffer
Michael D. Lowis [Thu, 12 Jan 2017 14:30:02 +0000 (09:30 -0500)]
Fixed open at line number functionality
Michael D. Lowis [Thu, 12 Jan 2017 13:38:32 +0000 (08:38 -0500)]
Fixed unit tests that broke due to copy paste behavior change
Michael D. Lowis [Thu, 12 Jan 2017 04:24:25 +0000 (23:24 -0500)]
ctrl+d should execute the selection if there is one
Michael D. Lowis [Thu, 12 Jan 2017 04:14:40 +0000 (23:14 -0500)]
ctrl+d should select the command under cursor if nothing selected
Michael D. Lowis [Thu, 12 Jan 2017 03:36:09 +0000 (22:36 -0500)]
context sensitive selection for mouse buttons
Michael D. Lowis [Wed, 11 Jan 2017 21:22:42 +0000 (16:22 -0500)]
tweaked escpae key handling for highlighting previous selection. Still not 100% correct but it is better
Michael D. Lowis [Tue, 10 Jan 2017 13:57:00 +0000 (08:57 -0500)]
Added a tools directory using the edit wrapper script. This will allow for segragating editing utilities from the normal PATH var while still making them available in the editor
Michael D. Lowis [Tue, 10 Jan 2017 13:25:52 +0000 (08:25 -0500)]
Added brace balancing to the block selection
Michael D. Lowis [Fri, 6 Jan 2017 13:40:30 +0000 (08:40 -0500)]
Added search direction to the status line
Michael D. Lowis [Fri, 6 Jan 2017 02:26:46 +0000 (21:26 -0500)]
Shift key inverts the search direction for literal searches
Michael D. Lowis [Thu, 5 Jan 2017 18:28:16 +0000 (13:28 -0500)]
Tweaked > sigil to dump command output into the tags region. This allows it to be used for subsequent commands
Michael D. Lowis [Thu, 5 Jan 2017 17:59:46 +0000 (12:59 -0500)]
Undo and Redo tags now always apply to the edit region. ctrl+z + ctrl+y still apply to the focused region
Michael D. Lowis [Thu, 5 Jan 2017 17:46:50 +0000 (12:46 -0500)]
Combined libx and libedit
Michael D. Lowis [Tue, 3 Jan 2017 13:38:19 +0000 (08:38 -0500)]
Explictly maerk buf.c as requiring posix APIs (truncate)
Michael D. Lowis [Mon, 2 Jan 2017 04:04:43 +0000 (23:04 -0500)]
shift+click should extend the selection to the clicked location
Michael D. Lowis [Mon, 2 Jan 2017 03:47:46 +0000 (22:47 -0500)]
ctrl+f warps pointer to the next match
Michael D. Lowis [Mon, 2 Jan 2017 03:17:18 +0000 (22:17 -0500)]
rename charset.c to filetype.c
Michael D. Lowis [Sun, 1 Jan 2017 04:22:21 +0000 (23:22 -0500)]
Presence of tabs in the opened file turns of expand_tabs. This should do the right thing in most cases. for everything else theres the Tabs tagcommand