Commit Graph

99 Commits

Author SHA1 Message Date
Greg Sexton
f608e09be3 Reuse existing machinery 2016-07-03 16:21:41 +01:00
forflo
b9ecf4b355 Hacked support for Makros in C and C++ mode 2016-06-06 02:52:41 +02:00
Greg Sexton
4e98f118c3 Add display customization 2016-03-13 21:13:54 +00:00
Greg Sexton
9b9356cd63 Change default values for customization options 2016-03-13 21:13:33 +00:00
Nicholas Seckar
eafd97fc70 Recompute header ranges when folding.
Previously header ranges could be broken to extend over previous lines.
The easiest way to reproduce is to put the caret at ^ in this line:

    fn ^foo() { … }

And insert a newline; the header will cover both the “fn “ and “foo() {
… }” lines.

This hacky patch recomputes the header range whenever a modification
happens inside it.
2015-10-20 13:17:33 -07:00
Nicholas Seckar
d372bd1af1 Allow dots plus header mode
Removed origami-fold-display-mode; instead display is controlled via
new customs origami-show-fold-header and origami-fold-replacement.

Replacement text can be customized, or set to “” to effectively disable.
2015-10-11 13:08:19 -07:00
Nicholas Seckar
47b4e2830e Add header style for fold display
Header mode is optional, enabled via origami-fold-display-mode.
Rendering is similar to vimish-fold’s style.
2015-10-11 12:23:48 -07:00
Greg Sexton
56140b4d3f Add marker support and buffer-local parser override 2015-08-22 12:50:02 +01:00
Greg Sexton
b4ff0c40f6 Doc new features 2015-08-22 12:49:46 +01:00
Greg Sexton
9a0722e052 Generalize marker parser 2015-08-22 12:49:33 +01:00
David Högberg
6f9367575a Per-buffer folding styles and explicit folding on triple-braces. 2015-08-13 16:48:10 +02:00
Greg Sexton
a44b0660f0 Colons can appear in elisp function names 2015-05-20 21:09:05 +01:00
Greg Sexton
49ae22e18a Add indent parser 2015-04-26 14:57:43 +01:00
Greg Sexton
5398602a97 Add todo 2015-04-26 14:57:27 +01:00
Greg Sexton
fb1db05c3e Improve doc 2015-04-26 14:49:24 +01:00
Greg Sexton
6677218b96 Update docs 2015-04-26 14:42:10 +01:00
Greg Sexton
54e7502b11 Add explicit python-mode support 2015-04-26 14:41:57 +01:00
Greg Sexton
579112c406 Make indent-parser the default 2015-04-26 14:25:41 +01:00
Greg Sexton
a8eb81e09c Factor in newlines 2015-04-26 13:21:16 +01:00
Greg Sexton
2b07b5c6fd Create basic indent parser 2015-04-26 11:40:34 +01:00
Greg Sexton
f28a9209d9 Provide global origami mode 2015-04-25 15:20:15 +01:00
Greg Sexton
e81d69ad8e Add go and php to parsers alist 2015-04-25 15:20:06 +01:00
Greg Sexton
27b28c8e16 Fold javadoc also 2015-04-08 21:31:57 +01:00
Greg Sexton
e9577c8a8d Merge pull request #10 from andschwa/url
Change URL to repo's home page
2015-04-04 12:16:50 +01:00
Andrew Schwartzmeyer
fe8f93c33a
Change URL to repo's home page 2015-04-03 20:04:13 -07:00
Greg Sexton
f880c5dac5 Show node when jumping to compile/grep/occur results 2015-03-29 15:14:03 +01:00
Greg Sexton
d81d57047e Add melpa recommendation to readme 2015-01-17 15:44:56 +00:00
Greg Sexton
4c7846a01a Add out of the box support for js 2014-11-22 21:57:01 +00:00
Greg Sexton
1cc58ab689 Make isearch reveal folds 2014-11-22 10:26:26 +00:00
Greg Sexton
7e878a2251 Add origami-toggle-all-nodes 2014-11-16 18:09:19 +00:00
Greg Sexton
ec68e37557 Add autoload cookie 2014-11-16 14:26:35 +00:00
Greg Sexton
842b5c3a8d Fix compilation warnings 2014-11-16 14:12:06 +00:00
Greg Sexton
39b3129f37 Add comparsions to readme 2014-11-16 12:46:08 +00:00
Greg Sexton
2e5d1d9126 Make parsers create consistent ranges 2014-11-15 21:15:28 +00:00
Greg Sexton
e61e3670bc Change readme list to a table 2014-11-15 18:39:48 +00:00
Greg Sexton
dca4a20a30 Write a README 2014-11-15 18:30:26 +00:00
Greg Sexton
6f9915c6a6 Document all commands 2014-11-15 17:39:49 +00:00
Greg Sexton
d586c41b21 Extract out local function 2014-11-15 16:38:58 +00:00
Greg Sexton
775d3058a8 Generalise origami-build-pair-tree 2014-11-15 16:22:45 +00:00
Greg Sexton
81fba32332 Completely remove parser-combinator library
Too slow. Better to keep things simple.
2014-11-12 21:45:40 +00:00
Greg Sexton
01249b4269 Rewrite c-style parser
Remove parser combinator in favour of speed
2014-11-11 21:48:26 +00:00
Greg Sexton
326763b766 Add cperl-mode 2014-11-01 10:06:20 +00:00
Greg Sexton
2673711f7c Improve the clojure parser 2014-08-25 18:53:52 +01:00
Greg Sexton
142ec95360 Add parser for clojure 2014-08-24 16:53:46 +01:00
Greg Sexton
20d4f6e180 Make bind marginally faster 2014-08-17 20:35:25 +01:00
Greg Sexton
80b7547ea8 Elisp parser shows defun args 2014-08-16 19:26:51 +01:00
Greg Sexton
90a3c55a19 Remove left-over pop 2014-08-16 19:22:47 +01:00
Greg Sexton
2de6c9c403 Size limit and protect edges in history 2014-08-16 19:07:20 +01:00
Greg Sexton
a38aaa64c9 Introduce linear history with redo command 2014-08-16 19:01:25 +01:00
Greg Sexton
f9d284cf3d Implement fold undo 2014-08-16 18:23:04 +01:00