Check for empty history in setSelectionAddToHistory
Check for empty history in setSelectionAddToHistory

Issue #1961

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