Posted to Scintilla-Temp, I repost to correct list as I see they are back.
I finally upgraded my version of SciTE from 1.63 or 1.67, I am not sure... I was lagging behind partly because changes became big, while I wanted to keep my eternal work-in-progress and experiments, and partly because of deprecation of VC6 that I still use. I found a WTL header handling this issue, so I have now a brand new SciTE v.1.71! Good thing: the alpha blend. Although reluctant at start, I found myself needing caret.line.back to find my way in some files. But I dropped it for daily use, because it used to hide back colors. Now, I use it again, in a very light tone... It is nice in selections too, but I didn't found a way to invert the colors... I am used to that! :-) To be clear, I downloaded wscite-1.71 to be sure I reported no glitch from my own version! First problem: some property changes are not reflected on all buffers, I have to close the file and reopen it to see the change. Even Reload doesn't work here. Practical example: Default tab and indent size is set to 8. I open a Java file with tabs. I see indeed such size when I switch to fixed font (Ctrl+F11). In cpp.properties, I add: indent.size.$(file.patterns.c.like)=12 tab.size.$(file.patterns.c.like)=4 No change in the buffer. Reload, idem. Close and reopen: I see the change. Now, I add an exception for Java: below, I add: indent.size.*.java=9 tab.size.*.java=3 Still no change. Close, reopen: still set at 12/4. OK, let's remove *.java; from the file.patterns.c.like definition. Aah, that's better. It seems an individual property no longer overrides a global one. Is it by design? I might have missed some announcement. A bit annoying, but I can manage, I suppose, at the cost of added verbosity. Oh, BTW, searching for possible overrides, I found these lines in yaml.properties: indent.automatic.$(file.patterns.yaml)=0 indent.opening.$(file.patterns.yaml)=0 indent.closing.$(file.patterns.yaml)=0 According to the doc., these are incorrect... And I spotted a typo in the doc.: The global tabsize, indent.size, and use.tabs properties can be overridden for files that match a pattern by using the using the file pattern forms "by using the using the file"... -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
