- Add a "Close" menu entry - Properly ask the user to save the currently opened file (if modified) when trying to open a new file - Moved the IsSaved() part of the code in the LoadFile() method, to make sure it works also the text editor is used as a plugin in the browser
- Add a "Close" menu entry
- Properly ask the user to save the currently opened file (if modified) when trying to open a new file
- Moved the IsSaved() part of the code in the LoadFile() method, to make sure it works also the text editor is used as a plugin in the browser


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@38125 27541ba8-7e3a-0410-8455-c3a389f83636

satyarth934/root,sirinath/root,sirinath/root,mattkretz/root,evgeny-boger/root,arch1tect0r/root,evgeny-boger/root,Y--/root,mkret2/root,Y--/root,gbitzes/root,cxx-hep/root-cern,mhuwiler/rootauto,smarinac/root,georgtroska/root,zzxuanyuan/root,satyarth934/root,pspe/root,perovic/root,arch1tect0r/root,georgtroska/root,gganis/root,abhinavmoudgil95/root,gganis/root,Duraznos/root,agarciamontoro/root,vukasinmilosevic/root,ffurano/root5,strykejern/TTreeReader,root-mirror/root,smarinac/root,strykejern/TTreeReader,dfunke/root,jrtomps/root,evgeny-boger/root,omazapa/root-old,BerserkerTroll/root,nilqed/root,Duraznos/root,davidlt/root,CristinaCristescu/root,beniz/root,mattkretz/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,jrtomps/root,lgiommi/root,georgtroska/root,sawenzel/root,vukasinmilosevic/root,dfunke/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,Duraznos/root,Y--/root,sawenzel/root,buuck/root,perovic/root,mhuwiler/rootauto,perovic/root,mattkretz/root,krafczyk/root,nilqed/root,satyarth934/root,ffurano/root5,ffurano/root5,zzxuanyuan/root,Dr15Jones/root,arch1tect0r/root,Y--/root,mattkretz/root,jrtomps/root,arch1tect0r/root,esakellari/root,CristinaCristescu/root,nilqed/root,olifre/root,cxx-hep/root-cern,omazapa/root,krafczyk/root,omazapa/root-old,cxx-hep/root-cern,mhuwiler/rootauto,vukasinmilosevic/root,sbinet/cxx-root,esakellari/root,karies/root,Dr15Jones/root,smarinac/root,omazapa/root,evgeny-boger/root,vukasinmilosevic/root,CristinaCristescu/root,0x0all/ROOT,mhuwiler/rootauto,veprbl/root,sawenzel/root,esakellari/my_root_for_test,gganis/root,nilqed/root,lgiommi/root,esakellari/my_root_for_test,lgiommi/root,CristinaCristescu/root,gganis/root,omazapa/root-old,omazapa/root,sirinath/root,sbinet/cxx-root,root-mirror/root,BerserkerTroll/root,simonpf/root,perovic/root,0x0all/ROOT,mkret2/root,sirinath/root,georgtroska/root,tc3t/qoot,sbinet/cxx-root,ffurano/root5,strykejern/TTreeReader,dfunke/root,BerserkerTroll/root,olifre/root,ffurano/root5,agarciamontoro/root,krafczyk/root,sawenzel/root,sawenzel/root,abhinavmoudgil95/root,sawenzel/root,ffurano/root5,arch1tect0r/root,krafczyk/root,mhuwiler/rootauto,CristinaCristescu/root,lgiommi/root,dfunke/root,nilqed/root,cxx-hep/root-cern,lgiommi/root,BerserkerTroll/root,evgeny-boger/root,esakellari/my_root_for_test,agarciamontoro/root,cxx-hep/root-cern,vukasinmilosevic/root,agarciamontoro/root,bbockelm/root,karies/root,georgtroska/root,sirinath/root,strykejern/TTreeReader,jrtomps/root,jrtomps/root,davidlt/root,gbitzes/root,Duraznos/root,georgtroska/root,arch1tect0r/root,krafczyk/root,davidlt/root,esakellari/root,esakellari/my_root_for_test,vukasinmilosevic/root,alexschlueter/cern-root,mattkretz/root,dfunke/root,mhuwiler/rootauto,alexschlueter/cern-root,gganis/root,gbitzes/root,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,dfunke/root,pspe/root,veprbl/root,olifre/root,esakellari/my_root_for_test,gganis/root,gbitzes/root,tc3t/qoot,buuck/root,omazapa/root,nilqed/root,pspe/root,bbockelm/root,sbinet/cxx-root,omazapa/root-old,davidlt/root,sirinath/root,gganis/root,dfunke/root,Y--/root,alexschlueter/cern-root,esakellari/my_root_for_test,gbitzes/root,esakellari/my_root_for_test,nilqed/root,smarinac/root,agarciamontoro/root,kirbyherm/root-r-tools,beniz/root,simonpf/root,omazapa/root-old,abhinavmoudgil95/root,BerserkerTroll/root,BerserkerTroll/root,pspe/root,zzxuanyuan/root-compressor-dummy,tc3t/qoot,tc3t/qoot,thomaskeck/root,krafczyk/root,buuck/root,zzxuanyuan/root,esakellari/root,sirinath/root,lgiommi/root,krafczyk/root,abhinavmoudgil95/root,CristinaCristescu/root,mattkretz/root,agarciamontoro/root,tc3t/qoot,dfunke/root,agarciamontoro/root,tc3t/qoot,georgtroska/root,sirinath/root,omazapa/root,bbockelm/root,alexschlueter/cern-root,Y--/root,beniz/root,veprbl/root,satyarth934/root,georgtroska/root,0x0all/ROOT,omazapa/root,0x0all/ROOT,kirbyherm/root-r-tools,karies/root,omazapa/root,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,thomaskeck/root,nilqed/root,gbitzes/root,mkret2/root,Duraznos/root,karies/root,lgiommi/root,veprbl/root,satyarth934/root,olifre/root,smarinac/root,perovic/root,mkret2/root,mkret2/root,gbitzes/root,beniz/root,perovic/root,vukasinmilosevic/root,mhuwiler/rootauto,gganis/root,mkret2/root,pspe/root,pspe/root,vukasinmilosevic/root,simonpf/root,karies/root,sbinet/cxx-root,karies/root,georgtroska/root,cxx-hep/root-cern,dfunke/root,mkret2/root,esakellari/root,tc3t/qoot,BerserkerTroll/root,sawenzel/root,gbitzes/root,zzxuanyuan/root,pspe/root,omazapa/root-old,omazapa/root,olifre/root,mkret2/root,veprbl/root,thomaskeck/root,gbitzes/root,krafczyk/root,ffurano/root5,krafczyk/root,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,abhinavmoudgil95/root,root-mirror/root,sawenzel/root,root-mirror/root,zzxuanyuan/root,buuck/root,beniz/root,CristinaCristescu/root,agarciamontoro/root,root-mirror/root,strykejern/TTreeReader,dfunke/root,root-mirror/root,beniz/root,BerserkerTroll/root,zzxuanyuan/root,simonpf/root,Duraznos/root,satyarth934/root,sbinet/cxx-root,jrtomps/root,buuck/root,simonpf/root,root-mirror/root,omazapa/root-old,mattkretz/root,lgiommi/root,zzxuanyuan/root,bbockelm/root,omazapa/root,zzxuanyuan/root-compressor-dummy,esakellari/root,alexschlueter/cern-root,gganis/root,buuck/root,omazapa/root,buuck/root,agarciamontoro/root,omazapa/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,esakellari/my_root_for_test,CristinaCristescu/root,perovic/root,karies/root,tc3t/qoot,buuck/root,agarciamontoro/root,gbitzes/root,zzxuanyuan/root,nilqed/root,Y--/root,BerserkerTroll/root,buuck/root,pspe/root,sawenzel/root,esakellari/root,beniz/root,cxx-hep/root-cern,esakellari/root,sbinet/cxx-root,kirbyherm/root-r-tools,root-mirror/root,omazapa/root-old,Dr15Jones/root,abhinavmoudgil95/root,smarinac/root,perovic/root,sirinath/root,vukasinmilosevic/root,davidlt/root,Duraznos/root,satyarth934/root,jrtomps/root,Duraznos/root,karies/root,mkret2/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,Dr15Jones/root,dfunke/root,sbinet/cxx-root,karies/root,davidlt/root,0x0all/ROOT,bbockelm/root,simonpf/root,abhinavmoudgil95/root,jrtomps/root,evgeny-boger/root,thomaskeck/root,alexschlueter/cern-root,beniz/root,jrtomps/root,sbinet/cxx-root,veprbl/root,thomaskeck/root,mhuwiler/rootauto,strykejern/TTreeReader,smarinac/root,simonpf/root,strykejern/TTreeReader,lgiommi/root,evgeny-boger/root,Duraznos/root,davidlt/root,zzxuanyuan/root-compressor-dummy,olifre/root,BerserkerTroll/root,satyarth934/root,arch1tect0r/root,mattkretz/root,jrtomps/root,davidlt/root,zzxuanyuan/root,bbockelm/root,jrtomps/root,olifre/root,georgtroska/root,simonpf/root,Y--/root,arch1tect0r/root,gganis/root,veprbl/root,davidlt/root,buuck/root,simonpf/root,nilqed/root,olifre/root,arch1tect0r/root,esakellari/root,Duraznos/root,bbockelm/root,satyarth934/root,zzxuanyuan/root,davidlt/root,smarinac/root,Dr15Jones/root,perovic/root,veprbl/root,sawenzel/root,smarinac/root,perovic/root,sawenzel/root,beniz/root,evgeny-boger/root,zzxuanyuan/root,omazapa/root-old,Dr15Jones/root,evgeny-boger/root,georgtroska/root,lgiommi/root,veprbl/root,Y--/root,kirbyherm/root-r-tools,olifre/root,karies/root,pspe/root,Dr15Jones/root,root-mirror/root,gbitzes/root,Y--/root,buuck/root,lgiommi/root,0x0all/ROOT,kirbyherm/root-r-tools,zzxuanyuan/root-compressor-dummy,veprbl/root,perovic/root,cxx-hep/root-cern,0x0all/ROOT,satyarth934/root,sbinet/cxx-root,kirbyherm/root-r-tools,abhinavmoudgil95/root,0x0all/ROOT,alexschlueter/cern-root,mattkretz/root,0x0all/ROOT,karies/root,thomaskeck/root,thomaskeck/root,root-mirror/root,beniz/root,sirinath/root,root-mirror/root,mattkretz/root,sirinath/root,esakellari/root,abhinavmoudgil95/root,omazapa/root-old,mkret2/root,davidlt/root,mhuwiler/rootauto,Y--/root,BerserkerTroll/root,beniz/root,smarinac/root,Duraznos/root,mhuwiler/rootauto,mattkretz/root,bbockelm/root,arch1tect0r/root,thomaskeck/root,CristinaCristescu/root,agarciamontoro/root,mkret2/root,tc3t/qoot,thomaskeck/root,esakellari/root,nilqed/root,satyarth934/root,kirbyherm/root-r-tools,abhinavmoudgil95/root,CristinaCristescu/root,gganis/root,olifre/root,veprbl/root,bbockelm/root,pspe/root,esakellari/my_root_for_test,mhuwiler/rootauto,simonpf/root,pspe/root,omazapa/root-old,esakellari/my_root_for_test,evgeny-boger/root,arch1tect0r/root,olifre/root,simonpf/root,tc3t/qoot,vukasinmilosevic/root,zzxuanyuan/root