Stefan Schwendeler implemented the directory properties feature discussed in January. A single SciTEDirectory.properties file sets options for the directory it is in and its subdirectories. A simplified version of his code can be downloaded from
http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable To use this feature, it must first be turned on with properties.directory.enable=1 (should probably be renamed to properties.directory for consistency). Whenever a file is opened or switched to, directory properties are read as well as local properties. The directory properties file is called SciTEDirectory.properties and is opened from the same directory as the file being opened or switched to. If there is no SciTEDirectory.properties file in that directory then the parent directory is checked and so forth up the path until SciTEDirectory.properties is found or the root is reached. I found the behaviour a little strange. If there is no active directory properties file then the Open Directory Options File command opens one in the same directory as the current file. This is the most obvious behaviour but I normally expect that the file will go into a parent directory. The code is not committed to CVS yet as I'm not certain about it. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
