1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 20:07:59 +01:00

Fixed some focus issues

First (non-working) readMultiline implementation
This commit is contained in:
Martin Stubenschrott
2007-07-03 09:04:10 +00:00
parent 78aad7c83b
commit 84874eec04
5 changed files with 50 additions and 33 deletions

View File

@@ -1366,7 +1366,8 @@ function updateBufferList()
function scrollBufferRelative(right, down)
{
var win = document.commandDispatcher.focusedWindow;
//var win = window.document.commandDispatcher.focusedWindow;
var win = window.content;
if (vimperator.input.count < 1)
vimperator.input.count = 1;
@@ -1395,7 +1396,8 @@ function scrollBufferRelative(right, down)
/* both values are given in percent, -1 means no change */
function scrollBufferAbsolute(horizontal, vertical)
{
var win = document.commandDispatcher.focusedWindow;
//var win = document.commandDispatcher.focusedWindow;
var win = window.content;
var horiz, vert;
if (horizontal < 0)