Zachary Yedidia
007b060cbd
Speed up search and replace
...
Ref #625
2017-04-16 11:11:04 -04:00
Thomas LE ROUX
651cb89948
refactor(plugin): Enable human-friendly plugin name
2016-12-12 16:37:48 +01:00
Florian Sundermann
6fe20fb305
some additions to the plugin API
...
Those changes were originally used for the snippet plugin which
may not be part of the core.
2016-09-19 13:23:47 +02:00
Zachary Yedidia
553b3d80c4
Fix diff remove problem in ApplyDiff
...
The location counter was being updated when there was a removal in
the text but it shouldn't be.
Fixes #163
2016-06-11 11:23:05 -04:00
Zachary Yedidia
3deee51537
Fix bug with pasting with new Location system
2016-06-07 18:24:13 -04:00
Zachary Yedidia
72f5808025
Replace rope with lineArray
2016-06-07 11:43:28 -04:00
Zachary Yedidia
7e218562a3
Remove "Applying Diff" message on reopen
...
Fixes #160
2016-06-02 13:05:57 -04:00
Zachary Yedidia
ef17306f8b
Allow changes from external programs to be undone
...
We use a diff to be able to transform the buffer into an arbitrary
string (usually when we reread the file after an external program such
as gofmt has changed it) and still preserve undo/redo.
Fixes #136
2016-05-30 21:01:40 -04:00
Zachary Yedidia
ee9f2a3d9c
Add persistent undo as the option
2016-05-29 11:02:56 -04:00
Camille Scholtz
1806ef3ad0
Remove undo options, make stackundo default behavior
2016-05-27 23:39:27 +02:00
Camille Scholtz
007ece1e78
Add stackundo option
2016-05-26 19:36:59 +02:00
Camille Scholtz
e553815501
make undothresthold a setting (part 2)
2016-05-24 21:40:05 +02:00
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
eba820a9c7
Rewrite gofmt and goimports as plugins
2016-05-05 12:53:07 -04:00
Zachary Yedidia
efb4b5e899
Don't store buffer in text event
2016-05-01 16:45:23 -04:00
aerth
337f162360
now is go gettable and updated make file
2016-04-18 10:59:41 +00:00