Commit Graph

49 Commits

Author SHA1 Message Date
Greg Sexton
ac970fb8ea Refactor variable setup 2014-08-16 16:31:37 +01:00
Greg Sexton
26037d8a99 Add origami-recursively-toggle-node command 2014-08-14 22:06:48 +01:00
Greg Sexton
3de4a8513b Refactor, but not fix, origami-next-fold 2014-08-11 21:58:46 +01:00
Greg Sexton
af44495352 Fix elisp parser bug 2014-08-10 16:54:21 +01:00
Greg Sexton
9d6003f90b Rewrite elisp parser to use builtin funcs
More accurate and much faster.
2014-08-10 16:50:28 +01:00
Greg Sexton
4d66682979 Introduce offset 2014-08-10 16:14:14 +01:00
Greg Sexton
8a2d0388f6 Refactor 2014-08-10 15:29:44 +01:00
Greg Sexton
29618c96de Make elisp parser def* based 2014-08-10 15:10:05 +01:00
Greg Sexton
0f90c2a96b Make parser lookup major-mode derived 2014-08-09 14:02:37 +01:00
Greg Sexton
f9858348ff Extract parser.el 2014-08-06 22:00:01 +01:00
Greg Sexton
7775fc2023 Implement origami-forward-toggle-node 2014-08-05 21:24:03 +01:00
Greg Sexton
a244624c7a Only compute the tree if changes have been made 2014-06-02 20:52:39 +01:00
Greg Sexton
053c2c7ac8 Add recursive open/close 2014-06-02 20:19:43 +01:00
Greg Sexton
84ee2e8dcb Move to next/previous fold 2014-06-01 21:39:08 +01:00
Greg Sexton
c4bbdfee6e Refactor commands 2014-06-01 17:49:48 +01:00
Greg Sexton
1b0e818fbe Add require cl 2014-06-01 17:37:02 +01:00
Greg Sexton
afb713c06c Remove debug messages 2014-05-31 20:21:59 +01:00
Greg Sexton
ecf6acae88 Add minor mode hook variable 2014-05-31 18:29:27 +01:00
Greg Sexton
7ca8127f75 Create minor mode 2014-05-31 18:02:04 +01:00
Greg Sexton
bdc0815218 Simplify test parser 2014-05-29 21:46:06 +01:00
Greg Sexton
26e35f4227 Speed up test parser
Skip using regular expressions. This is less 'pure' but necessary for
speed!
2014-05-29 21:39:18 +01:00
Greg Sexton
fc5db446d4 Implement recursive parsing 2014-05-26 20:42:38 +01:00
Greg Sexton
1f46c0f3d8 Add richer parser functions 2014-05-07 21:23:29 +01:00
Greg Sexton
9ab8de98ba Implement origami-parser-string 2014-05-06 20:37:17 +01:00
Greg Sexton
503b160ba0 Change fold data model
We now use the overlay to access the begin and end as this is updated by
emacs as the buffer changes.
2014-05-05 21:34:50 +01:00
Greg Sexton
3dec1957d2 Restructure 2014-05-05 18:14:36 +01:00
Greg Sexton
09a5b5fd01 Make reset more robust 2014-05-05 11:35:23 +01:00
Greg Sexton
2edbbdf3e7 Make first attempt at updating tree after buffer edits 2014-05-05 11:35:07 +01:00
Greg Sexton
71b4a61bc6 Change semantics of fold open node 2014-04-23 20:21:56 +01:00
Greg Sexton
65aa2bee02 Fix comment alignment 2014-04-21 21:44:22 +01:00
Greg Sexton
3650c604b5 Implement show only 2014-04-21 21:32:04 +01:00
Greg Sexton
3cb65b2912 Open and close all nodes 2014-04-21 20:21:05 +01:00
Greg Sexton
566dc99370 Implement reset 2014-04-21 20:05:50 +01:00
Greg Sexton
0f08711a7f Implement toggle 2014-04-19 15:08:46 +01:00
Greg Sexton
2be3fa7916 Rename path finding funcs 2014-04-19 15:04:42 +01:00
Greg Sexton
9c5a4acf60 Ensure default for previously open is t 2014-04-19 15:02:51 +01:00
Greg Sexton
2f2069041a Adjust overlay range 2014-04-19 15:02:44 +01:00
Greg Sexton
f15c83d0da Keep hacking: opening and closing seems to work 2014-04-19 14:51:07 +01:00
Greg Sexton
2920f6ca1f Search for node containing point + misc 2014-04-19 12:36:49 +01:00
Greg Sexton
1eba276ad9 Make fold node structure more robust
Also, implement origami-fold-assoc
2014-04-19 11:44:43 +01:00
Greg Sexton
1944c22931 Start fleshing out interactive funcs 2014-04-19 11:44:38 +01:00
Greg Sexton
b55125cc8b Add more parsing combinators 2014-04-13 20:24:33 +01:00
Greg Sexton
3584641d4e Add conj 2014-04-10 20:25:30 +01:00
Greg Sexton
04bce78b13 Add many parser 2014-04-07 21:50:39 +01:00
Greg Sexton
7bf9c22e47 Implement monadic parsing 2014-04-06 20:16:59 +01:00
Greg Sexton
5b97990a0d Create the scanner monad and experiment with it 2014-03-24 20:37:56 +00:00
Greg Sexton
3d727df657 Adjust whitespace 2014-03-17 20:25:10 +00:00
Greg Sexton
7cc09a5acd Refactor and introduce on-change 2014-03-17 20:23:57 +00:00
Greg Sexton
30442bbbb1 Implement basic add/remove diff 2014-03-17 19:23:46 +00:00