Change autofocus rules in fromTextArea
Change autofocus rules in fromTextArea

It now focuses the new editor only if the textarea argument
currently has focus.

Closes #714

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