1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:18:00 +01:00

swapped :help and :Help, if you don't find yet help in :help, try :Help, and convert it to asciidoc

This commit is contained in:
Martin Stubenschrott
2008-01-23 14:42:50 +00:00
parent 4153597a02
commit af927e89c5
6 changed files with 27 additions and 17 deletions

View File

@@ -304,6 +304,8 @@ vimperator.Help = function(section)
var elem = vimperator.buffer.getElement('@class="tag" and text()="' + tag + '"');
if (elem)
window.content.scrollTo(0, elem.getBoundingClientRect().top - 10); // 10px context
else
dump('no element: ' + '@class="tag" and text()="' + tag + '"\n' );
}, 200);
}