summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-03-24 23:51:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-03-24 23:51:08 +0000
commit7d0b1443916345947ee72ff07ebb56493d09598e (patch)
tree8392f2d1265861c67605d813f3edc611c6184864 /riscos/window.c
parentb23bc94cb96c61e6a66bcbbd5bb7b89c07ec486c (diff)
downloadnetsurf-7d0b1443916345947ee72ff07ebb56493d09598e.tar.gz
netsurf-7d0b1443916345947ee72ff07ebb56493d09598e.tar.bz2
[project @ 2004-03-24 23:51:08 by jmb]
Text Export support. svn path=/import/netsurf/; revision=665
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscos/window.c b/riscos/window.c
index a10114d6c..270fcd52b 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -24,6 +24,7 @@
#include "netsurf/riscos/options.h"
#include "netsurf/riscos/save_complete.h"
#include "netsurf/riscos/save_draw.h"
+#include "netsurf/riscos/save_text.h"
#include "netsurf/riscos/theme.h"
#include "netsurf/riscos/thumbnail.h"
#include "netsurf/utils/log.h"
@@ -785,6 +786,11 @@ bool ro_gui_window_keypress(gui_window *g, int key, bool toolbar)
#endif
);
return true;
+#ifdef WITH_TEXT_EXPORT
+ case wimp_KEY_CONTROL + wimp_KEY_F3:
+/* save_as_text(g->data.browser.bw->current_content);*/
+ return true;
+#endif
#ifdef WITH_SAVE_COMPLETE
case wimp_KEY_SHIFT + wimp_KEY_F3:
save_complete(g->data.browser.bw->current_content);