November 5, 2010
Another ‘quickie’. Rather than update the central /usr/share/scite/SciTEGlobal.properties, just pull in the user’s properties from SciTE’s Options-OpenUserOptionsFile. There, add the following : find.files=*.p*|*.js|*.[ch]* if PLAT_GTK find.command=grep -R –include ‘$(find.files)’ –exclude ‘*.svn*’ -i –line-number ‘$(find.what)’ . tabsize=1 indent.size=1 use.tabs=0 indent.size.*.py=4 # NB : tabsize becomes tab.size for filepatterns… tab.size.*.py=4 lexer.html.mako=1 source.files=$(source.files);*.css;*.scss filter.css=CSS (css scss)|*.css;*.scss| lexer.*.css=css lexer.*.scss=css [...]
September 15, 2010
Just a quickie… To make SciTE work with scss files (which are enhanced css files), just add the following information: In /usr/share/scite/SciTEGlobal.properties (on a Fedora machine at least, YMMV) : ;*.scss to the end of source.files= and in /usr/share/scite/css.properties the top of the file should read : filter.css=CSS (css scss)|*.css;*.scss| lexer.*.css=css lexer.*.scss=css
September 15, 2010
sass (and its successor scss) is a really nice CSS meta-language, enabling nicer hierarchies of classes to be built (much more maintainable). The transformation software is written in ruby, and provided by the ruby gem haml. The first step when using SCSS file, is usually to recast existing CSS files into semantically equivalent SCSS files [...]