viking

webkit based web browser for Enlightenment
Log | Files | Refs | LICENSE

commit 46eb505e828c658fdad2c8be3582ec7902b35088
parent 9a3f0fea8ef1dce309488cfda13318d573ca323a
Author: Kyle Milz <kmilz@ucalgary.ca>
Date:   Sun, 14 Oct 2012 11:16:54 -0600

fix indentation on commands list

Diffstat:
Msrc/commands.h | 94++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/src/commands.h b/src/commands.h @@ -38,53 +38,53 @@ Eina_Bool process_set_line(char *line); // extern char startpage[MAX_SETTING_SIZE]; /* command mapping */ -static Command commands[COMMANDSIZE] = { - /* command, function, argument */ - { "b", switch_buffer, {0} }, - { "ba", navigate, {NavigationBack} }, - { "back", navigate, {NavigationBack} }, - { "ec", script, {Info} }, - { "echo", script, {Info} }, - { "echoe", script, {Error} }, - { "echoerr", script, {Error} }, - { "fw", navigate, {NavigationForward} }, - { "fo", navigate, {NavigationForward} }, - { "forward", navigate, {NavigationForward} }, - { "javascript", script, {Silent} }, - { "o", open_arg, {TargetCurrent} }, - { "open", open_arg, {TargetCurrent} }, - { "q", quit, {0} }, - { "quit", quit, {0} }, - { "re", navigate, {NavigationReload} }, - { "re!", navigate, {NavigationForceReload} }, - { "reload", navigate, {NavigationReload} }, - { "reload!", navigate, {NavigationForceReload} }, - { "qt", search_tag, {0} }, - { "st", navigate, {NavigationCancel} }, - { "stop", navigate, {NavigationCancel} }, - { "t", open_arg, {0} }, - { "tabopen", open_arg, {TargetNew} }, - { "print", print_frame, {0} }, - { "bma", bookmark, {0} }, - { "bookmark", bookmark, {0} }, - { "source", view_source, {0} }, -// { "set", browser_settings, {0} }, -// { "map", mappings, {0} }, - { "jumpleft", scroll, {ScrollJumpTo | DirectionLeft} }, - { "jumpright", scroll, {ScrollJumpTo | DirectionRight} }, - { "jumptop", scroll, {ScrollJumpTo | DirectionTop} }, - { "jumpbottom", scroll, {ScrollJumpTo | DirectionBottom} }, - { "pageup", scroll, {ScrollMove | DirectionTop | UnitPage} }, - { "pagedown", scroll, {ScrollMove | DirectionBottom | UnitPage} }, - { "navigationback", navigate, {NavigationBack} }, - { "navigationforward", navigate, {NavigationForward} }, - { "scrollleft", scroll, {ScrollMove | DirectionLeft | UnitLine} }, - { "scrollright", scroll, {ScrollMove | DirectionRight | UnitLine} }, - { "scrollup", scroll, {ScrollMove | DirectionTop | UnitLine} }, - { "scrolldown", scroll, {ScrollMove | DirectionBottom | UnitLine} }, - { "ls", list, {0} }, - { "winopen", window, {CreateWindow} }, - { "winclose", window, {DeleteWindow} }, +static Command commands[] = { + /* command, function, argument */ + { "b", switch_buffer, {0} }, + { "ba", navigate, {NavigationBack} }, + { "back", navigate, {NavigationBack} }, + { "ec", script, {Info} }, + { "echo", script, {Info} }, + { "echoe", script, {Error} }, + { "echoerr", script, {Error} }, + { "fw", navigate, {NavigationForward} }, + { "fo", navigate, {NavigationForward} }, + { "forward", navigate, {NavigationForward} }, + { "javascript", script, {Silent} }, + { "o", open_arg, {TargetCurrent} }, + { "open", open_arg, {TargetCurrent} }, + { "q", quit, {0} }, + { "quit", quit, {0} }, + { "re", navigate, {NavigationReload} }, + { "re!", navigate, {NavigationForceReload} }, + { "reload", navigate, {NavigationReload} }, + { "reload!", navigate, {NavigationForceReload} }, + { "qt", search_tag, {0} }, + { "st", navigate, {NavigationCancel} }, + { "stop", navigate, {NavigationCancel} }, + { "t", open_arg, {0} }, + { "tabopen", open_arg, {TargetNew} }, + { "print", print_frame, {0} }, + { "bma", bookmark, {0} }, + { "bookmark", bookmark, {0} }, + { "source", view_source, {0} }, + // { "set", browser_settings, {0} }, + // { "map", mappings, {0} }, + { "jumpleft", scroll, {ScrollJumpTo | DirectionLeft} }, + { "jumpright", scroll, {ScrollJumpTo | DirectionRight} }, + { "jumptop", scroll, {ScrollJumpTo | DirectionTop} }, + { "jumpbottom", scroll, {ScrollJumpTo | DirectionBottom} }, + { "pageup", scroll, {ScrollMove | DirectionTop | UnitPage} }, + { "pagedown", scroll, {ScrollMove | DirectionBottom | UnitPage} }, + { "navigationback", navigate, {NavigationBack} }, + { "navigationforward", navigate, {NavigationForward} }, + { "scrollleft", scroll, {ScrollMove | DirectionLeft | UnitLine} }, + { "scrollright", scroll, {ScrollMove | DirectionRight | UnitLine} }, + { "scrollup", scroll, {ScrollMove | DirectionTop | UnitLine} }, + { "scrolldown", scroll, {ScrollMove | DirectionBottom | UnitLine} }, + { "ls", list, {0} }, + { "winopen", window, {CreateWindow} }, + { "winclose", window, {DeleteWindow} }, };