Fix ordering of doc width adjustment and selection drawing
Fix ordering of doc width adjustment and selection drawing

The selection's width depends on the doc width, so it has to
be drawn after adjusting that.

Issue #2256

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