Fix problem where shift-up/right at top of document would cause bad selection
Fix problem where shift-up/right at top of document would cause bad selection

The textarea would still have a 'reduced' selection, so replacing the selection
by typing or pasting would not replace anything.

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