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
d7b61ecfa8
Fix small bug in Remove function in buffer
2016-05-17 19:57:16 -04:00
Dante Swift
a03cacf1e7
saving now resets buffer IsModified to false
2016-05-15 00:26:36 -06:00
Zachary Yedidia
e2efc963b7
Simplify IsDirty check
2016-05-14 12:04:13 -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
87d9221a73
Small optimization
2016-05-05 11:23:20 -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
48a17a508d
Use hash for savedText instead of full string
2016-05-01 19:07:54 -04:00
Zachary Yedidia
3b4521e9c6
Remove unused syntax highlighting code and optimize IsDirty()
2016-04-20 13:52:10 -04:00
Zachary Yedidia
fdceddefe1
Fix IsDirty
2016-04-18 16:13:49 -04:00
Zachary Yedidia
273401d911
Optimization for IsDirty()
2016-04-18 14:20:40 -04:00
aerth
337f162360
now is go gettable and updated make file
2016-04-18 10:59:41 +00:00