Fix cursor autoscrolling when position doesn't change
Fix cursor autoscrolling when position doesn't change

When assigning the cursor's position, if we decide we want to autoscroll,
we should do so even if the cursor's position doesn't change.

The previous approach relied on a comparison of the position being
assigned, but this is before it has been clipped. Now we rely on a
boolean return value from the marker position assignment methods, which
tells us if the position has changed. If not, we need to emit our own
event to force autoscrolling.

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