Qi Xiao
|
fe2b07e936
|
Add a history listing mode.
|
2016-02-14 07:52:31 +00:00 |
|
Qi Xiao
|
55e3f4b029
|
pushTip -> addTip; make it nicer to use.
|
2016-02-13 19:27:21 +01:00 |
|
Qi Xiao
|
d7cbcffdbf
|
Remove per-session history.
This fixes #116.
|
2016-02-13 15:12:19 +01:00 |
|
Qi Xiao
|
90ab0ee6c2
|
Implement lastAmongDup in the session history too.
This fully fixes #116.
|
2016-02-13 01:02:13 +01:00 |
|
Qi Xiao
|
1c98a9b97f
|
Cleanups.
|
2016-02-12 13:31:24 +01:00 |
|
Qi Xiao
|
13143c4f2d
|
Add editor builtin "redraw".
|
2016-02-12 12:04:20 +01:00 |
|
Qi Xiao
|
b617aeca1d
|
Add an accept-completion editor builtin.
|
2016-02-12 03:54:08 +01:00 |
|
Qi Xiao
|
e49d44c090
|
edit: Make the name part of a builtin.
|
2016-02-12 03:20:10 +01:00 |
|
Qi Xiao
|
34fddcd100
|
Expose editor builtins via a le module.
|
2016-02-12 00:43:41 +01:00 |
|
Qi Xiao
|
dca576ff16
|
Renames.
|
2016-02-09 01:21:38 +01:00 |
|
Qi Xiao
|
a63b241a45
|
edit: Introduce a fn interface.
|
2016-02-08 19:28:40 +01:00 |
|
Qi Xiao
|
8125e2f9e6
|
golint fixes.
|
2016-02-07 23:23:16 +01:00 |
|
Qi Xiao
|
85e9678911
|
edit: Add Alt-..
|
2016-02-07 04:43:42 +01:00 |
|
Qi Xiao
|
85646e5029
|
edit: Implement move-dot-{s,e}ol
|
2016-02-07 04:30:57 +01:00 |
|
Qi Xiao
|
b298f006e7
|
edit: Implement move-dot-{left,right}-word.
|
2016-02-07 04:28:25 +01:00 |
|
Qi Xiao
|
77df994361
|
Fix crash of move-dot-{up,down}.
|
2016-02-07 02:30:42 +01:00 |
|
Qi Xiao
|
3828c40167
|
New editor builtin select-history-next-or-quit.
|
2016-02-07 02:02:42 +01:00 |
|
Qi Xiao
|
5dfa7d2eb3
|
Move to more traditional behavior of tab completion.
|
2016-02-07 01:54:25 +01:00 |
|
Qi Xiao
|
f15bbaeab5
|
eval: Foreign interface now uses plain error
|
2016-01-31 02:29:46 +01:00 |
|
Qi Xiao
|
82e027e435
|
Exitus -> Error
|
2016-01-30 17:11:43 +01:00 |
|
Qi Xiao
|
940d101c47
|
edit: le now checks editor activeness
|
2016-01-29 14:40:35 +01:00 |
|
Qi Xiao
|
08fa48e449
|
edit: fix errorneous "unbound" message
|
2016-01-29 14:37:37 +01:00 |
|
Qi Xiao
|
24fa52276b
|
edit: builtins now leave the return value in ed.nextAction
|
2016-01-29 14:35:11 +01:00 |
|
Qi Xiao
|
313565ed5d
|
new ele builtin to call line editor from script
|
2016-01-29 04:10:25 +00:00 |
|
Qi Xiao
|
54db501045
|
edit: ditch the Key argument to builtins
It is now stored in editorState.lastKey.
|
2016-01-29 03:59:12 +00:00 |
|
Qi Xiao
|
97302b5504
|
edit: beep -> flash
|
2016-01-27 02:46:49 +01:00 |
|
Cheer Xiao
|
05e97720ca
|
Move util/strings{"" _test} into dedicated strutil package
|
2015-02-26 17:04:07 +01:00 |
|
Cheer Xiao
|
1ad8fcaa1f
|
**.go: xiaq/elvish -> elves/elvish
|
2014-10-29 20:50:10 +01:00 |
|
Cheer Xiao
|
06a0760ede
|
New editor builtin kill-word-left
|
2014-03-30 15:03:04 +08:00 |
|
Cheer Xiao
|
336815fe4b
|
edit: Ditch cancel-history, just use start-insert
|
2014-03-13 22:30:23 +08:00 |
|
Cheer Xiao
|
36ab4b4f12
|
edit: Fix history
|
2014-03-13 22:27:38 +08:00 |
|
Cheer Xiao
|
370b88cfea
|
edit: Get rid of leReturn.newMode and changeMode
|
2014-03-13 22:21:58 +08:00 |
|
Cheer Xiao
|
8e56d98994
|
edit: Put all transitional states in editorState
|
2014-03-13 22:14:49 +08:00 |
|
Cheer Xiao
|
877cbe58d1
|
edit: Key.rune -> .Rune
|
2014-03-10 19:06:22 +08:00 |
|
Cheer Xiao
|
afaa18377e
|
edit: Implement and bind move-dot-{up down}
|
2014-03-10 13:47:19 +08:00 |
|
Cheer Xiao
|
6b7e1296c1
|
Add util.Find{FirstEOL LastSOL}; use it
|
2014-03-10 00:31:22 +08:00 |
|
Cheer Xiao
|
8460fa8b4c
|
edit: Fix killLineRight
|
2014-03-10 00:28:43 +08:00 |
|
Cheer Xiao
|
0e8756ce16
|
edit: Ditch -b or -f in builtin names
One of up/down, left/right or prev/next is used depending on the context.
|
2014-03-09 23:59:49 +08:00 |
|
Cheer Xiao
|
3fd932c5bc
|
edit: Implement and bind builtin kill-rune-f
|
2014-03-09 00:53:07 +08:00 |
|
Cheer Xiao
|
331ea9cb09
|
edit: Implement editor builtins kill-line-{b f} really in terms of lines
|
2014-03-09 00:49:30 +08:00 |
|
Cheer Xiao
|
88907441b0
|
edit: Support inserting Enter
|
2014-03-09 00:07:11 +08:00 |
|
Cheer Xiao
|
5b8d305195
|
Provide wrappers for edit.navigation methods
|
2014-03-06 10:09:55 +08:00 |
|
Cheer Xiao
|
712cf9ae73
|
Implement file listing of navigation mode
|
2014-03-06 01:09:57 +08:00 |
|
Cheer Xiao
|
1c4e67b0af
|
edit: Builtin renames; check for nonexistent builtin in init()
|
2014-03-05 12:00:35 +08:00 |
|
Cheer Xiao
|
0197342914
|
Add stubs for navigation mode of editor
|
2014-03-05 11:25:32 +08:00 |
|
Cheer Xiao
|
de84052973
|
modeCompleting -> modeCompletion
|
2014-03-05 11:22:09 +08:00 |
|
Cheer Xiao
|
548fcc41a3
|
edit: Preliminary history facility
|
2014-02-09 19:54:32 +08:00 |
|
Cheer Xiao
|
095363eb58
|
Make edit.bufferMode values private
|
2014-01-31 20:01:07 +08:00 |
|
Cheer Xiao
|
7d7814ef9b
|
golint fixes
|
2014-01-31 19:18:10 +08:00 |
|
Cheer Xiao
|
29363b8186
|
gofmt
|
2014-01-16 09:24:14 +08:00 |
|