Qi Xiao
|
8db13b85ec
|
Add a but: glob qualifier to exclude paths.
|
2017-02-16 04:10:31 +00:00 |
|
Qi Xiao
|
79350d7b9c
|
Let edit.completion embed edit.compl.
|
2017-02-13 00:54:32 -05:00 |
|
Qi Xiao
|
18c06f6a5b
|
Boring renames.
|
2017-02-13 00:49:11 -05:00 |
|
Qi Xiao
|
e1dc20eb3c
|
Call two sides of Assignment and Redir simply Left and Right.
|
2017-02-13 00:42:00 -05:00 |
|
Qi Xiao
|
01794c5b54
|
Show completion error in tip, not in notification.
|
2017-02-13 00:18:35 -05:00 |
|
Qi Xiao
|
cc0c28828e
|
Implement (*eval.Struct).IterateKey correctly.
|
2017-02-13 00:16:12 -05:00 |
|
Qi Xiao
|
71b1f60763
|
Support completing map indices.
|
2017-02-13 00:13:03 -05:00 |
|
Qi Xiao
|
27f73d7064
|
Add eval.IterateKeyer and make it part of MapLike.
|
2017-02-12 23:53:49 -05:00 |
|
Qi Xiao
|
e86a86b69d
|
Support completing redir RHS.
|
2017-02-12 23:02:19 -05:00 |
|
Qi Xiao
|
1b35bb6f5b
|
Slight cleanup.
|
2017-02-12 22:53:11 -05:00 |
|
Qi Xiao
|
9c0c19a92a
|
Generate parse.Is* functions.
|
2017-02-12 22:49:44 -05:00 |
|
Qi Xiao
|
3483d81647
|
Document parse/boilerplate.py.
|
2017-02-12 22:42:56 -05:00 |
|
Qi Xiao
|
1e55e21642
|
Generate parse.Get* functions for all node types.
|
2017-02-12 22:33:09 -05:00 |
|
Qi Xiao
|
8889ff83b5
|
Make completion for command name comprehensive.
|
2017-02-12 22:25:39 -05:00 |
|
Qi Xiao
|
6fac1ca4b5
|
Log the path from root to leaf when completion fails.
|
2017-02-12 22:25:19 -05:00 |
|
Qi Xiao
|
3ba3528d9d
|
stylist -> highlighter; don't depend on the whole editor.
|
2017-02-12 21:57:33 -05:00 |
|
Qi Xiao
|
5fa523f687
|
A trivial cleanup.
|
2017-02-12 21:47:04 -05:00 |
|
Qi Xiao
|
9dc81e87f1
|
Get rid of edit.Token.
|
2017-02-12 01:29:24 -05:00 |
|
Qi Xiao
|
724cd15f6b
|
Don't use tokens when completing.
|
2017-02-11 23:51:38 -05:00 |
|
Qi Xiao
|
7f2b310fd1
|
Fix rendering of history when prefix is empty.
|
2017-02-11 23:28:36 -05:00 |
|
Qi Xiao
|
d2a28b1a58
|
Fix error message at end of history.
|
2017-02-11 23:26:13 -05:00 |
|
Qi Xiao
|
f40c911d08
|
Remove eval.IncIndent.
|
2017-02-11 23:25:19 -05:00 |
|
Qi Xiao
|
916da7de7b
|
Allow arbitrary spaces after = in map pairs.
Use this to pretty-print maps.
|
2017-02-11 23:23:36 -05:00 |
|
Qi Xiao
|
6eb6829443
|
Break up editorRenderer.
|
2017-02-11 23:04:31 -05:00 |
|
Qi Xiao
|
3b00dd8f16
|
Move edit/reader.go to edit/tty.
|
2017-02-11 22:34:47 -05:00 |
|
Qi Xiao
|
6f47909c20
|
Move edit.Key to a new edit/uitypes package.
|
2017-02-11 22:29:18 -05:00 |
|
Qi Xiao
|
75a9d1f908
|
Move edit.AsyncReader to a new edit/tty package.
|
2017-02-11 22:16:18 -05:00 |
|
Qi Xiao
|
d579e8ed8a
|
Fix rule for nested package cover.
|
2017-02-11 22:15:37 -05:00 |
|
Qi Xiao
|
5751809b94
|
Fix empty leading line in editor in a hacky way.
|
2017-02-11 18:52:16 -05:00 |
|
Qi Xiao
|
4dac14a783
|
Makefile: Make cover/% rule nested-package-friendly.
|
2017-02-11 18:44:52 -05:00 |
|
Qi Xiao
|
b31b803a0e
|
Move the rendering of the editor into a renderer.
|
2017-02-11 16:33:25 -05:00 |
|
Qi Xiao
|
53c11b745e
|
Let modes decide whether the cursor is on the modeline.
|
2017-02-10 04:53:24 -05:00 |
|
Qi Xiao
|
d26ee04d79
|
Let the editor re-lex the line iff it has changed.
|
2017-02-10 04:43:36 -05:00 |
|
Qi Xiao
|
3816d774a7
|
edit.FixCandidates -> quoteCandidates.
|
2017-02-10 04:33:15 -05:00 |
|
Qi Xiao
|
d9343fbc00
|
Always populate candidate.display instead of fixing it later.
|
2017-02-10 04:31:23 -05:00 |
|
Qi Xiao
|
ec75b97802
|
Guard against too few arguments to builtin arg completers.
|
2017-02-10 04:23:57 -05:00 |
|
Qi Xiao
|
088b233e69
|
Name completers le:complete-* instead of le:compl-*.
|
2017-02-10 03:58:29 -05:00 |
|
Qi Xiao
|
311918120a
|
Ditch edit.CompleterTable.
|
2017-02-10 03:57:06 -05:00 |
|
Qi Xiao
|
62a0e767c6
|
Unify and fix handling of $le:{before,after}-readline.
|
2017-02-09 17:24:22 -08:00 |
|
Qi Xiao
|
5f3c41de5d
|
Rename a validator.
|
2017-02-09 16:59:32 -08:00 |
|
Qi Xiao
|
b44b91242a
|
Remove unused edit.StringExposer.
|
2017-02-09 16:57:22 -08:00 |
|
Qi Xiao
|
450867eb17
|
Ditch eval.BoolExposer in favor of a variable with validator.
|
2017-02-09 16:54:37 -08:00 |
|
Qi Xiao
|
2f9f28f296
|
edit.MustBeFn -> eval.ShouldBeFn
|
2017-02-09 16:49:44 -08:00 |
|
Qi Xiao
|
382c9442dd
|
Renames and comments.
|
2017-02-09 16:40:53 -08:00 |
|
Qi Xiao
|
3e15c064a6
|
Let completers depend on Evaler instead of Editor.
|
2017-02-09 16:27:55 -08:00 |
|
Qi Xiao
|
5b48662204
|
Don't use Editor.isExternal when completing.
|
2017-02-09 16:09:04 -08:00 |
|
Qi Xiao
|
16bc9c5a81
|
util.AllExecutables -> EachExecutable; callback instead of channel.
|
2017-02-09 15:57:16 -08:00 |
|
Qi Xiao
|
308eb188a3
|
In edit.listingProvider.Show, separate header and content.
|
2017-02-09 14:01:37 -08:00 |
|
Qi Xiao
|
4b1b6992ab
|
Test edit/histlist.go (incomplete).
|
2017-02-04 16:45:40 -08:00 |
|
Qi Xiao
|
7c9dcf8cf9
|
Test edit/location.go.
|
2017-02-04 16:26:56 -08:00 |
|