Fix for invalid matching symbol in vim keymap.
Fix for invalid matching symbol in vim keymap.

When the matching symbol of a closing bracket is on a different
line, it will match to the incorrect opening bracket. For example,
go to http://codemirror.net/demo/vim.html and place the cursor on
the closing brace at line 11 and press '%'.  It will incorrectly
match the opening brace on line 4 instead of the brace on line 8.
This patch fixes that by starting the line search at the *end* of
the line when searching backwards.

fpco/codemirror,ZombieHippie/CodeMirror,NumbersInternational/CodeMirror,bluesh55/CodeMirror,flyskyko/CodeMirror,amshali/CodeMirror,happibum/CodeMirror-main,INTELOGIE/CodeMirror,mihailik/CodeMirror,kolya-ay/CodeMirror,rasata/CodeMirror,apatawari/CodeMirror,jessegrosjean/CodeMirror,jayaprabhakar/CodeMirror,ashmind/CodeMirror,davidpham87/CodeMirror,mightyguava/CodeMirror,namin/CodeMirror,agendor/CodeMirror,jochenberger/CodeMirror,philuchansky/CodeMirror,morrisonwudi/CodeMirror,kuangyeheng/CodeMirror,kerabromsmu/CodeMirror,rrandom/CodeMirror,jkaplon/CodeMirror,mightyguava/CodeMirror,qiankun007/CodeMirror,nightwing/CodeMirror,jayaprabhakar/CodeMirror,jayaprabhakar/CodeMirror,crazy4chrissi/CodeMirror,melpon/CodeMirror,isdampe/CodeMirror,kevinushey/CodeMirror,dbarnett/CodeMirror,bocharsky-bw/CodeMirror,angelozerr/CodeMirror,sourcelair/CodeMirror,trumanliu/CodeMirror,tpphu/CodeMirror,camellhf/CodeMirror,Carreau/CodeMirror,adobe/CodeMirror2,d0liver/CodeMirror,KamranMackey/CodeMirror,ThebingServices/CodeMirror,NumbersInternational/CodeMirror,bgrins/CodeMirror,codio/CodeMirror,nawroth/CodeMirror,Ermlab/CodeMirror,sekcheong/CodeMirror,bgrins/CodeMirror,apatawari/CodeMirror,Jisuanke/CodeMirror,dudb/CodeMirror,thomasjm/CodeMirror,happibum/CodeMirror-main,dperetti/CodeMirror,Aliccer/CodeMirror,matthewbauer/CodeMirror,loopspace/CodeMirror,jhnesk/CodeMirror,adobe/CodeMirror2,notepadqq/CodeMirror,jessegrosjean/CodeMirror,michaelerobertsjr/CodeMirror,kerabromsmu/CodeMirror,vanloswang/CodeMirror,loopspace/CodeMirror,SidPresse/CodeMirror,InternetGuru/CodeMirror,trumanliu/CodeMirror,ashmind/CodeMirror,MarcelGerber/CodeMirror,belph/CodeMirror,ZombieHippie/CodeMirror,Dominator008/CodeMirror,jessegrosjean/CodeMirror,DustinH/CodeMirror,DustinH/CodeMirror,DustinH/CodeMirror,anthonygego/CodeMirror,namin/CodeMirror,vincentwoo/CodeMirror,GerHobbelt/CodeMirror2,KamranMackey/CodeMirror,gkoberger/CodeMirror,symbla/CodeMirror,shiren/CodeMirror,morrisonwudi/CodeMirror,skylarkcob/CodeMirror,sgoo/CodeMirror,sanyaade-iot/CodeMirror,TDaglis/CodeMirror,pinbe/CodeMirror,antimatter15/CodeMirror,NeZaMy/CodeMirror2,rrandom/CodeMirror,qweasd1/CodeMirror,pinbe/CodeMirror,mihailik/CodeMirror,ssxxue/CodeMirror,apatawari/CodeMirror,pabloferz/CodeMirror,gkoberger/CodeMirror,MarcelGerber/CodeMirror,fmoliveira/CodeMirror,hccampos/CodeMirror,elisee/CodeMirror,agendor/CodeMirror,antimatter15/CodeMirror,antimatter15/CodeMirror,increpare/CodeMirror,ThebingServices/CodeMirror,tpphu/CodeMirror,xeronith/CodeMirror,pjkui/CodeMirror,mizchi/CodeMirror,GerHobbelt/CodeMirror2,fivetran/CodeMirror,qweasd1/CodeMirror,jpolitz/CodeMirror,Allenice/CodeMirror,systay/CodeMirror,ficristo/CodeMirror,NeZaMy/CodeMirror2,dbarnett/CodeMirror,ksanaforge/CodeMirror,kk9599/CodeMirror,rrandom/CodeMirror,pjkui/CodeMirror,bfrohs/CodeMirror,wingify/CodeMirror,karthikeyansam/CodeMirror,AlanWasTaken/codemirror,Navaneethsen/CodeMirror,supriyantomaftuh/CodeMirror,jpolitz/CodeMirror,mizchi/CodeMirror,morrisonwudi/CodeMirror,dbarnett/CodeMirror,shiren/CodeMirror,karthikeyansam/CodeMirror,mizchi/CodeMirror,systay/CodeMirror,manderson23/CodeMirror,michaelerobertsjr/CodeMirror,djadmin/CodeMirror,dperetti/CodeMirror,AlanWasTaken/codemirror,kolya-ay/CodeMirror,wbinnssmith/CodeMirror,ssxxue/CodeMirror,buchslava/CodeMirror,hackmdio/CodeMirror,rustemferreira/CodeMirror,nawroth/CodeMirror,rustemferreira/CodeMirror,CartoDB/CodeMirror,pinbe/CodeMirror,Allenice/CodeMirror,amshali/CodeMirror,abdelouahabb/CodeMirror,rustemferreira/CodeMirror,NumbersInternational/CodeMirror,michaelerobertsjr/CodeMirror,dudb/CodeMirror,joshterrell805-historic/CodeMirror,anthonygego/CodeMirror,ejgallego/CodeMirror,supriyantomaftuh/CodeMirror,buchslava/CodeMirror,fpco/codemirror,bocharsky-bw/CodeMirror,r7kamura/CodeMirror,kuangyeheng/CodeMirror,belph/CodeMirror,codio/CodeMirror,ejgallego/CodeMirror,Dominator008/CodeMirror,jhnesk/CodeMirror,anthonygego/CodeMirror,webida/CodeMirror,xeronith/CodeMirror,bocharsky-bw/CodeMirror,ficristo/CodeMirror,elisee/CodeMirror,webida/CodeMirror,tpphu/CodeMirror,jpolitz/CodeMirror,mtaran-google/CodeMirror,mihailik/CodeMirror,axter/CodeMirror,webida/CodeMirror,hackmdio/CodeMirror,bfrohs/CodeMirror,mtaran-google/CodeMirror,karevn/CodeMirror,cintiamh/CodeMirror,wbinnssmith/CodeMirror,sourcelair/CodeMirror,webida/CodeMirror,grzegorzmazur/CodeMirror,SidPresse/CodeMirror,TDaglis/CodeMirror,elisee/CodeMirror,hccampos/CodeMirror,hackmdio/CodeMirror,dudb/CodeMirror,belph/CodeMirror,alur/CodeMirror,gkoberger/CodeMirror,skylarkcob/CodeMirror,bfrohs/CodeMirror,Icenium/CodeMirror,namin/CodeMirror,increpare/CodeMirror,notepadqq/CodeMirror,grzegorzmazur/CodeMirror,isdampe/CodeMirror,xeronith/CodeMirror,EasonYi/CodeMirror,ksanaforge/CodeMirror,supriyantomaftuh/CodeMirror,Aliccer/CodeMirror,fmoliveira/CodeMirror,angelozerr/CodeMirror,isdampe/CodeMirror,hccampos/CodeMirror,adobe/CodeMirror2,ashmind/CodeMirror,camellhf/CodeMirror,schanzer/CodeMirror,Dominator008/CodeMirror,axter/CodeMirror,jansel/CodeMirror,loopspace/CodeMirror,nightwing/CodeMirror,TechnicalPursuit/CodeMirror,Allenice/CodeMirror,d0liver/CodeMirror,Navaneethsen/CodeMirror,kangkot/CodeMirror,crazy4chrissi/CodeMirror,kangkot/CodeMirror,bgrins/CodeMirror,trumanliu/CodeMirror,matthewbauer/CodeMirror,nawroth/CodeMirror,qiankun007/CodeMirror,EasonYi/CodeMirror,wingify/CodeMirror,davidpham87/CodeMirror,jansel/CodeMirror,flyskyko/CodeMirror,grzegorzmazur/CodeMirror,manderson23/CodeMirror,vincentwoo/CodeMirror,codio/CodeMirror,happibum/CodeMirror-main,joshterrell805-historic/CodeMirror,Jisuanke/CodeMirror,shiren/CodeMirror,Ermlab/CodeMirror,TDaglis/CodeMirror,ficristo/CodeMirror,qiankun007/CodeMirror,CartoDB/CodeMirror,nightwing/CodeMirror,flyskyko/CodeMirror,NeZaMy/CodeMirror2,jochenberger/CodeMirror,sekcheong/CodeMirror,symbla/CodeMirror,InternetGuru/CodeMirror,KamranMackey/CodeMirror,rasata/CodeMirror,sourcelair/CodeMirror,Aliccer/CodeMirror,increpare/CodeMirror,wingify/CodeMirror,manderson23/CodeMirror,sanyaade-iot/CodeMirror,TechnicalPursuit/CodeMirror,schanzer/CodeMirror,EasonYi/CodeMirror,kk9599/CodeMirror,melpon/CodeMirror,cintiamh/CodeMirror,philuchansky/CodeMirror,amsul/CodeMirror,MarcelGerber/CodeMirror,thomasjm/CodeMirror,pabloferz/CodeMirror,mtaran-google/CodeMirror,r7kamura/CodeMirror,InternetGuru/CodeMirror,dperetti/CodeMirror,buchslava/CodeMirror,jkaplon/CodeMirror,Carreau/CodeMirror,cben/CodeMirror,TechnicalPursuit/CodeMirror,kk9599/CodeMirror,kangkot/CodeMirror,INTELOGIE/CodeMirror,karevn/CodeMirror,agendor/CodeMirror,cben/CodeMirror,kevinushey/CodeMirror,fmoliveira/CodeMirror,abdelouahabb/CodeMirror,alur/CodeMirror,mightyguava/CodeMirror,karevn/CodeMirror,ksanaforge/CodeMirror,djadmin/CodeMirror,symbla/CodeMirror,melpon/CodeMirror,pjkui/CodeMirror,vanloswang/CodeMirror,kuangyeheng/CodeMirror,karthikeyansam/CodeMirror,crazy4chrissi/CodeMirror,r7kamura/CodeMirror,jkaplon/CodeMirror,INTELOGIE/CodeMirror,abdelouahabb/CodeMirror,vanloswang/CodeMirror,axter/CodeMirror,Icenium/CodeMirror,amsul/CodeMirror,notepadqq/CodeMirror,Jisuanke/CodeMirror,SidPresse/CodeMirror,ssxxue/CodeMirror,AlanWasTaken/codemirror,alur/CodeMirror,sekcheong/CodeMirror,philuchansky/CodeMirror,matthewbauer/CodeMirror,Navaneethsen/CodeMirror,ejgallego/CodeMirror,sanyaade-iot/CodeMirror,camellhf/CodeMirror,pabloferz/CodeMirror,d0liver/CodeMirror,ThebingServices/CodeMirror,amshali/CodeMirror,bluesh55/CodeMirror,qweasd1/CodeMirror,fivetran/CodeMirror,djadmin/CodeMirror,bluesh55/CodeMirror,kerabromsmu/CodeMirror,schanzer/CodeMirror,systay/CodeMirror,thomasjm/CodeMirror,ZombieHippie/CodeMirror,cintiamh/CodeMirror,rasata/CodeMirror,davidpham87/CodeMirror,vincentwoo/CodeMirror,Icenium/CodeMirror,sgoo/CodeMirror,amireh/codemirror,skylarkcob/CodeMirror