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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user