1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 02:24:12 +01:00

move vimperator.getCurrentWord to vimperator.buffer

This commit is contained in:
Doug Kearns
2007-09-11 02:03:28 +00:00
parent 45f7609f32
commit c13127eb0b
3 changed files with 25 additions and 24 deletions

View File

@@ -1381,7 +1381,7 @@ function Mappings() //{{{
addDefaultMap(new Map([vimperator.modes.NORMAL, vimperator.modes.CARET, vimperator.modes.TEXTAREA], ["*"],
function(count)
{
vimperator.search.searchSubmitted(vimperator.getCurrentWord(), false);
vimperator.search.searchSubmitted(vimperator.buffer.getCurrentWord(), false);
vimperator.search.findAgain();
},
{ }
@@ -1389,7 +1389,7 @@ function Mappings() //{{{
addDefaultMap(new Map([vimperator.modes.NORMAL, vimperator.modes.CARET, vimperator.modes.TEXTAREA], ["#"],
function(count)
{
vimperator.search.searchSubmitted(vimperator.getCurrentWord(), true);
vimperator.search.searchSubmitted(vimperator.buffer.getCurrentWord(), true);
vimperator.search.findAgain();
},
{ }