Prevent creation of atomic range from always scrolling cursor into view
Prevent creation of atomic range from always scrolling cursor into view

By checking *first* whether it needs to be pushed, and *then* whether anything
did actually change.

Closes #975

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