mceditor: refactoring.
commitdae33eb229b3e239f3fa34ba861b16cfdbc506c3
authorAndrew Borodin <aborodin@vmail.ru>
Fri, 23 Feb 2024 09:36:18 +0000 (23 12:36 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 7 Apr 2024 13:06:16 +0000 (7 16:06 +0300)
tree42a30e3c0614787778d83bde7b4a5e43ce19e650
parentf9a2038991bcf4b674d439f05a640de8a476a25f
mceditor: refactoring.

  * (mcedit_arg_t): rename to edit_arg_t and move to src/editor/edit.h.
  * (mcedit_arg_free): rename to edit_arg_free() and move to src/editor/edit.c.
  * (mcedit_arg_vpath_new): rename to edit_arg_vpath_new(), move to src/editor/edit.c
  and make public.
  * (mcedit_arg_new): rename to edit_arg_new(), move to src/editor/edit.c
  and make public.
  * src/editor/editwidget.c: sync with new editor APIs.
  * src/main.c: likewise.
  * src/args.c: likewise.
  * (mc_args_parse): show error in case of run MC as "mc -e" if MC is built
    without builtin editor.

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