![]() scite obviously recognizes cyclic dependencies and stops evaluating the value. Open.filter=all files (*)|*|$(open.filter)Įvaluates to cyclic dependency. that means the values of the variables are evaluated at the time where it is needed, instead of the time where it is defined. My previous solution does not work because scite is doing a lazy evaluation. Only for those interested in some details: this is what Javahype suggested but i do not understand why you need sudo for that, unless Javahype meant to edit /usr/share/scite/SciTEGlobal.properties instead of ~/.SciTEUser.properties. It is a hack because now every file is a "source file".Īnother way is to copy the definition of open.filter from /usr/share/scite/SciTEGlobal.properties and redefine the entire thing but switch the position of $(source.files) and $(all.files). add this line to your ~/.SciTEUser.properties file Here is a hack which works and you don't need to sudo. i have been doing some research into this issue and found this thread again. Then, just run SciTE as you normally would.īumping ancient thread. This ensures that you end this instance of SciTE being run as a superuser. Once you're satisfied with the changes, please close SciTE down completely. Instead of "All Sources", you should now see "All Files (*)" as the default filter. To see if the change occurred correctly, bring up the Open dialog by going to File > Open. Once you've completed Step 4, save your changes. It's a little long, but necessary to ensure all of the default filters are listed, too:Īll.files=All Files (*)|*|Hidden Files (.*)|.*| In this file, please type (or copy-and-paste) all of the following code. If you've never made changes to this file, the file should be empty. On SciTE's menu bar, go to Options > Open User Options File. Running SciTE as a superuser gives you the required permission to modify the properties file specified in the next step. You will most likely be prompted for a Password (usually the root password) type it in. Once in the Terminal window, type "sudo scite", without the quotes, so that you run SciTE as a superuser. For anyone new to Ubuntu: go to the Main Menu (usually in the top left corner of your screen) and then select Applications > Accessories > Terminal. I'm assuming the original posters most likely know a lot about Ubuntu at this point the extra details are for new Ubuntu users who come across this. I did the following to set SciTE's Open dialog box filter to "All Files (*)".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |