diff options
author | Jody Bruchon <jody@jodybruchon.com> | 2014-04-02 13:49:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-04-02 13:49:26 +0200 |
commit | a8d6f9bee43aba077f7a3a9bcb6ac64e5d877278 (patch) | |
tree | 4e35b7616c463b9a6f9b9d27438eea8309683441 /editors/sed.c | |
parent | 7537406edd3e0adf11d117379cac4e519e746d35 (diff) | |
download | busybox-a8d6f9bee43aba077f7a3a9bcb6ac64e5d877278.tar.gz |
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>
Diffstat (limited to 'editors/sed.c')
0 files changed, 0 insertions, 0 deletions