Add threshold for file size.
commitdcf78f5382f63663412c81c4bbf5c0c883c3260f
authorAndrew Borodin <aborodin@vmail.ru>
Fri, 1 Mar 2013 08:02:25 +0000 (1 12:02 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 5 Jul 2013 05:20:40 +0000 (5 09:20 +0400)
treeb4239ccda832defed45b1ff55add39756919863f
parentc6d6aaedd512a1c4951be9af24d0a7951c932f35
Add threshold for file size.

Add "editor_filesize_threshold" ini option to ask open file if it size
is larger than specified threshold. Supported string value formats are:
"640000000", "64000K", "64M". Default value is 64M.

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