summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index a2bea17b..11568c70 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1569,18 +1569,6 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
1569 smoothDuration_DocumentWidget_); 1569 smoothDuration_DocumentWidget_);
1570 return iTrue; 1570 return iTrue;
1571 } 1571 }
1572#if 0
1573 case SDLK_PAGEUP:
1574 case SDLK_PAGEDOWN:
1575 case SDLK_SPACE:
1576 postCommand_Widget(
1577 w,
1578 "scroll.page arg:%d repeat:%d",
1579 (key == SDLK_SPACE && mods & KMOD_SHIFT) || key == SDLK_PAGEUP ? -1 : +1,
1580 ev->key.repeat != 0);
1581 return iTrue;
1582 }
1583#endif
1584 else if (equal_Command(cmd, "document.goto") && document_App() == d) { 1572 else if (equal_Command(cmd, "document.goto") && document_App() == d) {
1585 const iRangecc heading = range_Command(cmd, "heading"); 1573 const iRangecc heading = range_Command(cmd, "heading");
1586 if (heading.start) { 1574 if (heading.start) {