1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 14:47:59 +01:00

Try to move the caret within the viewport on entering Caret or Find mode. Closes issue #170.

This commit is contained in:
Kris Maglione
2011-10-03 21:11:26 -04:00
parent b19375d109
commit 654cf64c02
7 changed files with 93 additions and 9 deletions

View File

@@ -93,6 +93,8 @@ var Modes = Module("modes", {
modes.pop();
else if (!stack.pop && !this.pref)
this.pref = true;
if (!stack.pop)
buffer.resetCaret();
},
leave: function (stack) {