Emit 'cursor:moved' event to update cursor position in status bar
Emit 'cursor:moved' event to update cursor position in status bar

Emitting the event *before* update, rather than after. This is because
we read from the DOM after update to measure new characters, which
forces layout, so emitting the event after measuring forces another
layout when the position is updated.

jjz/atom,gontadu/atom,lovesnow/atom,lovesnow/atom,KENJU/atom,kc8wxm/atom,lisonma/atom,yomybaby/atom,ivoadf/atom,basarat/atom,liuderchi/atom,001szymon/atom,anuwat121/atom,qiujuer/atom,wiggzz/atom,toqz/atom,RuiDGoncalves/atom,pombredanne/atom,bolinfest/atom,gisenberg/atom,tony612/atom,fedorov/atom,jacekkopecky/atom,helber/atom,bsmr-x-script/atom,gisenberg/atom,MjAbuz/atom,FoldingText/atom,MjAbuz/atom,rsvip/aTom,charleswhchan/atom,Andrey-Pavlov/atom,transcranial/atom,rlugojr/atom,vinodpanicker/atom,Jandersoft/atom,hharchani/atom,Jdesk/atom,vcarrera/atom,charleswhchan/atom,cyzn/atom,RobinTec/atom,0x73/atom,deoxilix/atom,bencolon/atom,gisenberg/atom,basarat/atom,bj7/atom,nvoron23/atom,vinodpanicker/atom,Hasimir/atom,dijs/atom,vhutheesing/atom,dsandstrom/atom,pkdevbox/atom,atom/atom,kdheepak89/atom,yalexx/atom,splodingsocks/atom,vjeux/atom,gontadu/atom,seedtigo/atom,tisu2tisu/atom,batjko/atom,Dennis1978/atom,kdheepak89/atom,abe33/atom,sillvan/atom,fedorov/atom,anuwat121/atom,Neron-X5/atom,russlescai/atom,champagnez/atom,medovob/atom,SlimeQ/atom,dannyflax/atom,ppamorim/atom,omarhuanca/atom,hagb4rd/atom,originye/atom,Austen-G/BlockBuilder,codex8/atom,florianb/atom,Jandersolutions/atom,Shekharrajak/atom,Ingramz/atom,mrodalgaard/atom,devmario/atom,hpham04/atom,AlisaKiatkongkumthon/atom,lisonma/atom,ObviouslyGreen/atom,andrewleverette/atom,davideg/atom,h0dgep0dge/atom,rjattrill/atom,vcarrera/atom,me6iaton/atom,yamhon/atom,tony612/atom,wiggzz/atom,kittens/atom,xream/atom,helber/atom,seedtigo/atom,Locke23rus/atom,sebmck/atom,bcoe/atom,kjav/atom,deepfox/atom,vinodpanicker/atom,nvoron23/atom,lovesnow/atom,mostafaeweda/atom,nvoron23/atom,AlexxNica/atom,hellendag/atom,acontreras89/atom,hakatashi/atom,n-riesco/atom,me6iaton/atom,Mokolea/atom,mostafaeweda/atom,toqz/atom,Ju2ender/atom,john-kelly/atom,CraZySacX/atom,gisenberg/atom,ali/atom,yomybaby/atom,matthewclendening/atom,jjz/atom,erikhakansson/atom,SlimeQ/atom,sebmck/atom,sxgao3001/atom,tjkr/atom,jlord/atom,john-kelly/atom,ezeoleaf/atom,transcranial/atom,jacekkopecky/atom,hakatashi/atom,johnrizzo1/atom,me6iaton/atom,decaffeinate-examples/atom,palita01/atom,crazyquark/atom,brumm/atom,scippio/atom,constanzaurzua/atom,qiujuer/atom,bj7/atom,tony612/atom,nvoron23/atom,charleswhchan/atom,kandros/atom,liuderchi/atom,GHackAnonymous/atom,bcoe/atom,decaffeinate-examples/atom,devoncarew/atom,liuderchi/atom,prembasumatary/atom,g2p/atom,rxkit/atom,Abdillah/atom,tony612/atom,FIT-CSE2410-A-Bombs/atom,bradgearon/atom,Jandersolutions/atom,rsvip/aTom,FIT-CSE2410-A-Bombs/atom,gabrielPeart/atom,BogusCurry/atom,rxkit/atom,cyzn/atom,fang-yufeng/atom,Locke23rus/atom,prembasumatary/atom,yomybaby/atom,rookie125/atom,jjz/atom,isghe/atom,nvoron23/atom,alexandergmann/atom,execjosh/atom,g2p/atom,ilovezy/atom,basarat/atom,darwin/atom,fang-yufeng/atom,omarhuanca/atom,synaptek/atom,erikhakansson/atom,mertkahyaoglu/atom,bryonwinger/atom,jordanbtucker/atom,brumm/atom,ykeisuke/atom,execjosh/atom,liuderchi/atom,ali/atom,brettle/atom,jacekkopecky/atom,charleswhchan/atom,oggy/atom,constanzaurzua/atom,vcarrera/atom,synaptek/atom,jtrose2/atom,RobinTec/atom,sillvan/atom,bencolon/atom,mdumrauf/atom,woss/atom,xream/atom,medovob/atom,G-Baby/atom,boomwaiza/atom,crazyquark/atom,hagb4rd/atom,stuartquin/atom,hakatashi/atom,jtrose2/atom,alexandergmann/atom,chengky/atom,mrodalgaard/atom,champagnez/atom,kdheepak89/atom,liuxiong332/atom,daxlab/atom,vjeux/atom,fang-yufeng/atom,splodingsocks/atom,rookie125/atom,bryonwinger/atom,targeter21/atom,fedorov/atom,mnquintana/atom,mnquintana/atom,gzzhanghao/atom,AdrianVovk/substance-ide,dannyflax/atom,kandros/atom,amine7536/atom,deoxilix/atom,RuiDGoncalves/atom,lisonma/atom,FoldingText/atom,rlugojr/atom,sekcheong/atom,hpham04/atom,isghe/atom,kittens/atom,batjko/atom,wiggzz/atom,omarhuanca/atom,rlugojr/atom,deepfox/atom,gabrielPeart/atom,sxgao3001/atom,Galactix/atom,darwin/atom,Mokolea/atom,rmartin/atom,brettle/atom,tmunro/atom,Ju2ender/atom,0x73/atom,davideg/atom,bradgearon/atom,charleswhchan/atom,panuchart/atom,GHackAnonymous/atom,hakatashi/atom,isghe/atom,yalexx/atom,qskycolor/atom,abcP9110/atom,scv119/atom,jeremyramin/atom,t9md/atom,Rychard/atom,h0dgep0dge/atom,hagb4rd/atom,jordanbtucker/atom,rmartin/atom,john-kelly/atom,RobinTec/atom,basarat/atom,AlisaKiatkongkumthon/atom,florianb/atom,devoncarew/atom,florianb/atom,brettle/atom,dkfiresky/atom,matthewclendening/atom,svanharmelen/atom,medovob/atom,Jandersolutions/atom,ali/atom,vinodpanicker/atom,lpommers/atom,KENJU/atom,kandros/atom,kaicataldo/atom,paulcbetts/atom,Rodjana/atom,tony612/atom,tanin47/atom,bolinfest/atom,kc8wxm/atom,vinodpanicker/atom,ykeisuke/atom,Jdesk/atom,Huaraz2/atom,john-kelly/atom,constanzaurzua/atom,bencolon/atom,dannyflax/atom,andrewleverette/atom,NunoEdgarGub1/atom,amine7536/atom,FoldingText/atom,ppamorim/atom,sxgao3001/atom,dannyflax/atom,alfredxing/atom,mnquintana/atom,chengky/atom,pkdevbox/atom,Galactix/atom,oggy/atom,scippio/atom,paulcbetts/atom,acontreras89/atom,ilovezy/atom,mertkahyaoglu/atom,sekcheong/atom,ardeshirj/atom,ashneo76/atom,ppamorim/atom,yangchenghu/atom,sebmck/atom,jacekkopecky/atom,KENJU/atom,originye/atom,svanharmelen/atom,stinsonga/atom,Shekharrajak/atom,codex8/atom,ivoadf/atom,woss/atom,KENJU/atom,ashneo76/atom,Rychard/atom,avdg/atom,johnrizzo1/atom,davideg/atom,elkingtonmcb/atom,ralphtheninja/atom,Huaraz2/atom,niklabh/atom,niklabh/atom,qiujuer/atom,dkfiresky/atom,panuchart/atom,mertkahyaoglu/atom,cyzn/atom,kjav/atom,jeremyramin/atom,transcranial/atom,RuiDGoncalves/atom,bcoe/atom,basarat/atom,fscherwi/atom,fredericksilva/atom,devoncarew/atom,kaicataldo/atom,AlbertoBarrago/atom,ilovezy/atom,einarmagnus/atom,amine7536/atom,Andrey-Pavlov/atom,woss/atom,fedorov/atom,Andrey-Pavlov/atom,crazyquark/atom,Galactix/atom,ezeoleaf/atom,mostafaeweda/atom,scippio/atom,alfredxing/atom,efatsi/atom,dkfiresky/atom,Arcanemagus/atom,Abdillah/atom,qskycolor/atom,n-riesco/atom,ReddTea/atom,codex8/atom,Shekharrajak/atom,abcP9110/atom,davideg/atom,me-benni/atom,sotayamashita/atom,jtrose2/atom,hellendag/atom,tanin47/atom,crazyquark/atom,prembasumatary/atom,ironbox360/atom,kdheepak89/atom,targeter21/atom,DiogoXRP/atom,jlord/atom,pengshp/atom,kc8wxm/atom,johnhaley81/atom,ilovezy/atom,G-Baby/atom,fredericksilva/atom,qskycolor/atom,yamhon/atom,Galactix/atom,sillvan/atom,Jandersoft/atom,mdumrauf/atom,russlescai/atom,ezeoleaf/atom,synaptek/atom,DiogoXRP/atom,SlimeQ/atom,targeter21/atom,dkfiresky/atom,einarmagnus/atom,synaptek/atom,Abdillah/atom,kjav/atom,jordanbtucker/atom,sekcheong/atom,bryonwinger/atom,toqz/atom,NunoEdgarGub1/atom,Sangaroonaom/atom,devoncarew/atom,nucked/atom,GHackAnonymous/atom,ralphtheninja/atom,Jdesk/atom,me6iaton/atom,elkingtonmcb/atom,sillvan/atom,beni55/atom,rjattrill/atom,harshdattani/atom,avdg/atom,ppamorim/atom,ykeisuke/atom,Klozz/atom,bryonwinger/atom,Mokolea/atom,abcP9110/atom,MjAbuz/atom,GHackAnonymous/atom,russlescai/atom,lovesnow/atom,boomwaiza/atom,kdheepak89/atom,fscherwi/atom,bj7/atom,jlord/atom,Austen-G/BlockBuilder,Jandersoft/atom,execjosh/atom,splodingsocks/atom,ardeshirj/atom,Ju2ender/atom,chfritz/atom,beni55/atom,matthewclendening/atom,CraZySacX/atom,rookie125/atom,me-benni/atom,nucked/atom,scv119/atom,avdg/atom,n-riesco/atom,jeremyramin/atom,davideg/atom,t9md/atom,kc8wxm/atom,ashneo76/atom,constanzaurzua/atom,xream/atom,abe33/atom,Dennis1978/atom,Hasimir/atom,seedtigo/atom,hharchani/atom,YunchengLiao/atom,lovesnow/atom,omarhuanca/atom,AlbertoBarrago/atom,sxgao3001/atom,Ju2ender/atom,CraZySacX/atom,ReddTea/atom,pengshp/atom,devoncarew/atom,YunchengLiao/atom,nrodriguez13/atom,tisu2tisu/atom,elkingtonmcb/atom,kevinrenaers/atom,batjko/atom,stinsonga/atom,DiogoXRP/atom,bsmr-x-script/atom,pengshp/atom,Jandersolutions/atom,matthewclendening/atom,yalexx/atom,rsvip/aTom,splodingsocks/atom,darwin/atom,phord/atom,champagnez/atom,dannyflax/atom,acontreras89/atom,Jandersolutions/atom,Austen-G/BlockBuilder,hagb4rd/atom,ivoadf/atom,yomybaby/atom,isghe/atom,hpham04/atom,Abdillah/atom,GHackAnonymous/atom,liuxiong332/atom,amine7536/atom,yalexx/atom,alfredxing/atom,Neron-X5/atom,originye/atom,abcP9110/atom,constanzaurzua/atom,lisonma/atom,bradgearon/atom,ezeoleaf/atom,gabrielPeart/atom,githubteacher/atom,Ju2ender/atom,fang-yufeng/atom,stuartquin/atom,Hasimir/atom,kittens/atom,sillvan/atom,panuchart/atom,g2p/atom,sekcheong/atom,mostafaeweda/atom,hagb4rd/atom,pombredanne/atom,phord/atom,targeter21/atom,h0dgep0dge/atom,phord/atom,pkdevbox/atom,hellendag/atom,AlexxNica/atom,Sangaroonaom/atom,qskycolor/atom,codex8/atom,tisu2tisu/atom,githubteacher/atom,rsvip/aTom,harshdattani/atom,paulcbetts/atom,sebmck/atom,sxgao3001/atom,chfritz/atom,lisonma/atom,crazyquark/atom,deepfox/atom,rsvip/aTom,burodepeper/atom,githubteacher/atom,yangchenghu/atom,toqz/atom,folpindo/atom,gzzhanghao/atom,kjav/atom,ObviouslyGreen/atom,dijs/atom,pombredanne/atom,oggy/atom,yangchenghu/atom,Hasimir/atom,niklabh/atom,brumm/atom,Galactix/atom,atom/atom,vhutheesing/atom,stuartquin/atom,stinsonga/atom,rjattrill/atom,nrodriguez13/atom,decaffeinate-examples/atom,Klozz/atom,folpindo/atom,devmario/atom,nucked/atom,Jonekee/atom,Abdillah/atom,tanin47/atom,helber/atom,RobinTec/atom,kevinrenaers/atom,paulcbetts/atom,chengky/atom,liuxiong332/atom,ObviouslyGreen/atom,mostafaeweda/atom,tjkr/atom,Rodjana/atom,001szymon/atom,Austen-G/BlockBuilder,dkfiresky/atom,deoxilix/atom,NunoEdgarGub1/atom,Shekharrajak/atom,yalexx/atom,devmario/atom,florianb/atom,hharchani/atom,devmario/atom,NunoEdgarGub1/atom,Neron-X5/atom,synaptek/atom,kittens/atom,BogusCurry/atom,omarhuanca/atom,Jdesk/atom,ali/atom,acontreras89/atom,matthewclendening/atom,mnquintana/atom,Rodjana/atom,Jonekee/atom,dijs/atom,basarat/atom,burodepeper/atom,jjz/atom,FoldingText/atom,efatsi/atom,ironbox360/atom,pombredanne/atom,vhutheesing/atom,gzzhanghao/atom,ralphtheninja/atom,PKRoma/atom,Austen-G/BlockBuilder,daxlab/atom,rmartin/atom,t9md/atom,acontreras89/atom,AdrianVovk/substance-ide,001szymon/atom,yamhon/atom,erikhakansson/atom,ironbox360/atom,kjav/atom,Neron-X5/atom,amine7536/atom,FIT-CSE2410-A-Bombs/atom,YunchengLiao/atom,decaffeinate-examples/atom,Hasimir/atom,ardeshirj/atom,tmunro/atom,palita01/atom,woss/atom,mnquintana/atom,vjeux/atom,tjkr/atom,PKRoma/atom,AlexxNica/atom,fredericksilva/atom,isghe/atom,ppamorim/atom,florianb/atom,Arcanemagus/atom,rmartin/atom,russlescai/atom,Klozz/atom,BogusCurry/atom,Rychard/atom,ReddTea/atom,rxkit/atom,NunoEdgarGub1/atom,ali/atom,batjko/atom,ilovezy/atom,woss/atom,mdumrauf/atom,toqz/atom,chfritz/atom,johnhaley81/atom,qiujuer/atom,mertkahyaoglu/atom,liuxiong332/atom,SlimeQ/atom,mrodalgaard/atom,Ingramz/atom,h0dgep0dge/atom,tmunro/atom,atom/atom,nrodriguez13/atom,lpommers/atom,ReddTea/atom,yomybaby/atom,AdrianVovk/substance-ide,dannyflax/atom,oggy/atom,targeter21/atom,0x73/atom,svanharmelen/atom,dsandstrom/atom,n-riesco/atom,MjAbuz/atom,john-kelly/atom,hharchani/atom,Jandersoft/atom,daxlab/atom,Dennis1978/atom,burodepeper/atom,bcoe/atom,deepfox/atom,kittens/atom,AlbertoBarrago/atom,PKRoma/atom,fang-yufeng/atom,codex8/atom,chengky/atom,bolinfest/atom,Austen-G/BlockBuilder,0x73/atom,hpham04/atom,fedorov/atom,RobinTec/atom,sotayamashita/atom,Neron-X5/atom,prembasumatary/atom,rmartin/atom,prembasumatary/atom,russlescai/atom,SlimeQ/atom,andrewleverette/atom,AlisaKiatkongkumthon/atom,Jdesk/atom,mertkahyaoglu/atom,abe33/atom,jtrose2/atom,n-riesco/atom,kaicataldo/atom,jjz/atom,johnrizzo1/atom,gontadu/atom,MjAbuz/atom,stinsonga/atom,einarmagnus/atom,batjko/atom,einarmagnus/atom,jtrose2/atom,beni55/atom,sekcheong/atom,devmario/atom,YunchengLiao/atom,vjeux/atom,YunchengLiao/atom,jlord/atom,vcarrera/atom,jacekkopecky/atom,abcP9110/atom,vjeux/atom,G-Baby/atom,harshdattani/atom,FoldingText/atom,hharchani/atom,scv119/atom,bcoe/atom,chengky/atom,sotayamashita/atom,oggy/atom,gisenberg/atom,johnhaley81/atom,Arcanemagus/atom,fredericksilva/atom,sebmck/atom,jlord/atom,anuwat121/atom,Sangaroonaom/atom,qiujuer/atom,hpham04/atom,kc8wxm/atom,lpommers/atom,Ingramz/atom,fscherwi/atom,Shekharrajak/atom,einarmagnus/atom,qskycolor/atom,liuxiong332/atom,Locke23rus/atom,me6iaton/atom,efatsi/atom,Andrey-Pavlov/atom,jacekkopecky/atom,kevinrenaers/atom,bsmr-x-script/atom,Huaraz2/atom,alexandergmann/atom,dsandstrom/atom,boomwaiza/atom,dsandstrom/atom,me-benni/atom,Jonekee/atom,Jandersoft/atom,scv119/atom,pombredanne/atom,folpindo/atom,Andrey-Pavlov/atom,rjattrill/atom,vcarrera/atom,FoldingText/atom,palita01/atom,ReddTea/atom,deepfox/atom,dsandstrom/atom,KENJU/atom,fredericksilva/atom