Fix selection bug on Safari
Fix selection bug on Safari

See comment in code for details. Fixes #90

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