busybox/editors
Jody Bruchon a8d6f9bee4 vi: undo support for vi with intermediate queuing
function                                             old     new   delta
undo_push                                              -     411    +411
undo_pop                                               -     288    +288
do_cmd                                              4160    4426    +266
char_insert                                          363     483    +120
undo_queue_commit                                      -      61     +61
text_hole_delete                                     108     163     +55
string_insert                                         94     127     +33
colon                                               2864    2882     +18
yank_delete                                           92     101      +9
vi_main                                              273     280      +7
dot_scroll                                            88      93      +5
dot_right                                             29      34      +5
dot_prev                                              20      25      +5
dot_next                                              20      25      +5
dot_left                                              24      29      +5
dot_end                                               20      25      +5
dot_begin                                             20      25      +5
init_text_buffer                                     154     156      +2
text_hole_make                                       145     142      -3
file_insert                                          333     318     -15
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 15/2 up/down: 1305/-18)        Total: 1287 bytes

(without queuing it's ~870 bytes)

Signed-off-by: Jody Bruchon <jody@jodybruchon.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-04-02 13:49:26 +02:00
..
awk.c awk: fix a bug in argc counting in recent change 2013-11-21 15:09:55 +01:00
cmp.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
Config.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
diff.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
ed.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
Kbuild.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
patch_bbox.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
patch_toybox.c *: replace xopen3 with xopen where makes sense 2010-10-18 02:38:27 +02:00
patch.c patch: make -p count path components, not slashes (think /blah//thing) 2011-10-10 19:59:38 +02:00
sed1line.txt add sed mini-doc 2007-11-13 17:13:31 +00:00
sed_summary.htm doc: add info about sed s/.../.../I modifier 2008-03-01 19:29:56 +00:00
sed.c sed: accept s///i as a synonym for s///I ("ignore case") 2013-12-18 16:23:49 +01:00
vi.c vi: undo support for vi with intermediate queuing 2014-04-02 13:49:26 +02:00