Editor: reduce scope of some functions.
commit4b0032de28a5f79bcdc291bf6252ea8d2324a41a
authorAndrew Borodin <aborodin@vmail.ru>
Tue, 11 Oct 2011 09:59:05 +0000 (11 13:59 +0400)
committerSlava Zanko <slavazanko@gmail.com>
Mon, 17 Oct 2011 10:30:04 +0000 (17 13:30 +0300)
treeaa2fa687baf9d866d73994d951d57c168eaa08a3
parent8664830831c4de74ef07eed9f716edca19aa00e9
Editor: reduce scope of some functions.

Following fuctions are used in in src/editor/edit.c file only:

edit_print_string
edit_move_block_to_right
edit_move_block_to_left

They was moved from src/editor/editcmd.c into src/editor/edit.c
and made static.

insert_spaces_tab() is used in src/editor/edit.c. Not it is static. Also
some optimization was performed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/edit-impl.h
src/editor/edit.c
src/editor/editcmd.c