Commit Graph

18 Commits

Author SHA1 Message Date
Zachary Yedidia
df684ec505 Store cursor and eventhandler in buffer instead of view
This is better design because the cursor and eventhandler are things the
buffer should know about directly but the view shouldn't. This should
make it easier to add persistent undo or location saving between
sessions (see #107).
2016-05-22 15:01:02 -04:00
Zachary Yedidia
29ae840413 Use rope substring instead of report 2016-05-07 10:57:40 -04:00
Zachary Yedidia
8670a03973 Add the text member back.
It seems rope.Report is not acting how I expected it to. I need to look
into this in more detail but for now I am adding the Text variable back
to the Buffer.

Fixes #98
2016-05-06 19:15:10 -04:00
Zachary Yedidia
eba820a9c7 Rewrite gofmt and goimports as plugins 2016-05-05 12:53:07 -04:00
Zachary Yedidia
f6dc983823 Optimization for buffer text
We no longer store a string representation of the buffer and instead
directly access it through the rope
2016-05-04 12:43:17 -04:00
Zachary Yedidia
0ee6be3d0f Use methods on view instead of functions for bindings 2016-04-24 18:32:18 -04:00
Zachary Yedidia
e1c1372f8f Add check flag for search and replace 2016-04-24 17:08:40 -04:00
Zachary Yedidia
3c32253772 Fix terminal mode panic 2016-04-24 16:49:54 -04:00
Zachary Yedidia
2b8cc4cfce Fix build error 2016-04-23 18:28:41 -04:00
Zachary Yedidia
0d1ba36044 Merge 2016-04-19 21:33:30 -04:00
Zachary Yedidia
65745a6b43 Much improved terminal mode (Ctrl-b)
This commit splits "Boss mode" into to different actions. Executing
a command with Ctrl-b will now open an interactive terminal. If you
would simply like to execute a background job in the shell, press
Ctrl-e and then type `run shell-command`.
2016-04-19 21:25:13 -04:00
aerth
838a932dd9 stdout and stderr buffers for command execution 2016-04-19 19:49:43 +00:00
Zachary Yedidia
f0ad01d1ec Add option to save and quit
Fixes #40
2016-04-19 13:16:08 -04:00
aerth
54f00cb937 shell command output is held in buffer until completion 2016-04-19 13:40:05 +00:00
aerth
f3e9271cae boss mode: Single line output stays in messenger, multiline output goes to a help-style screen 2016-04-19 05:10:53 +00:00
aerth
bbe78fbdff Display nonblank output on full screen 2016-04-19 04:53:56 +00:00
aerth
a2ca47a496 Boss mode 2016-04-19 04:33:54 +00:00
aerth
337f162360 now is go gettable and updated make file 2016-04-18 10:59:41 +00:00