diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2001-02-27 02:52:48 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2001-02-27 02:52:48 -0500 |
commit | 4bb52da7b05bb0a4331325010be89a0c630f671c (patch) | |
tree | c5c252f662ff4ef165925f6f6d0419d285a01f92 /src/LYKeymap.c | |
parent | affaa4f761ddf2c0edce3e00f3a989a0ef8a44d8 (diff) | |
download | lynx-snapshots-4bb52da7b05bb0a4331325010be89a0c630f671c.tar.gz |
snapshot of project "lynx", label v2-8-4dev_19
Diffstat (limited to 'src/LYKeymap.c')
-rw-r--r-- | src/LYKeymap.c | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/LYKeymap.c b/src/LYKeymap.c index 0508710c..75549f98 100644 --- a/src/LYKeymap.c +++ b/src/LYKeymap.c @@ -1,7 +1,7 @@ #include <HTUtils.h> #include <LYUtils.h> -#include <LYKeymap.h> #include <LYGlobalDefs.h> +#include <LYKeymap.h> #include <LYCharSets.h> /* for LYlowest_eightbit - kw */ #include <HTAccess.h> #include <HTFormat.h> @@ -742,6 +742,9 @@ PRIVATE Kcmd revmap[] = { LYK_PREV_DOC, "PREV_DOC", "go back to the previous document" ), DATA( + LYK_NEXT_DOC, "NEXT_DOC", + "undo going back to the previous document" ), + DATA( LYK_ACTIVATE, "ACTIVATE", "go to the document given by the current link" ), DATA( @@ -930,9 +933,6 @@ PRIVATE Kcmd revmap[] = { DATA( LYK_CHG_CENTER, "CHANGE_CENTER", "toggle center alignment in HTML TABLE" ), - DATA( - LYK_TO_CLIPBOARD, "TO_CLIPBOARD", - "link's URL to Clip Board" ), #endif #ifdef KANJI_CODE_OVERRIDE DATA( @@ -956,6 +956,14 @@ PRIVATE Kcmd revmap[] = { LYK_LINEWRAP_TOGGLE, "LINEWRAP_TOGGLE", "toggle linewrap on/off" ), #endif +#ifdef CAN_CUT_AND_PASTE + DATA( + LYK_PASTE_URL, "PASTE_URL", + "Goto the URL in the clipboard" ), + DATA( + LYK_TO_CLIPBOARD, "TO_CLIPBOARD", + "link's URL to Clip Board" ), +#endif DATA( LYK_UNKNOWN, NULL, "" ) @@ -1047,9 +1055,9 @@ PRIVATE struct emap ekmap[] = { {"SETMARK", LYE_SETMARK, "emacs-like set-mark-command"}, {"XPMARK", LYE_XPMARK, "emacs-like exchange-point-and-mark"}, {"KILLREG", LYE_KILLREG, "emacs-like kill-region"}, - {"YANK", LYE_YANK, "emacs-like yank"} -#if defined(WIN_EX) -, {"PASTE", LYE_PASTE, "ClipBoard to Lynx"} + {"YANK", LYE_YANK, "emacs-like yank"}, +#ifdef CAN_CUT_AND_PASTE + {"PASTE", LYE_PASTE, "ClipBoard to Lynx"}, #endif }; |