Constrain the end of the old screen range to the lastRenderedScreenRow, not maxScreenRow
Constrain the end of the old screen range to the lastRenderedScreenRow, not maxScreenRow

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