On Tue, 05 Jun 2007 12:55:54 +0200, Philippe Lhoste wrote:

> On 05/06/2007 12:18, Lionel B wrote:
>> and yes, *.inc does appear in a file.patterns variable in several other
>> language property files. So how does SciTE resolve conflicting
>> file.patterns?
> 
> It doesn't...

Meaning that it picks up the last definition of 
file.properties.<whatever> in the last properties file parsed...?

> Hit Ctrl+Shift+F11 to apply the Makefile lexer (does it
> work on Unix? if not, use the Language menu).

Yes, I was aware of that (Ctrl+Shift+F11 does work).

> And make your mind about which lexer .inc files must belong.

Ok,

  file.patterns.make=makefile*;Makefile*;configure*;*.inc
  lexer.$(file.patterns.make)=makefile

in my User Options file does the job.

>> (2) SciTE doesn't syntax hilight files called eg. Makefile.xxx at all
>> (or rather, perhaps, as plain text).
> 
> I believe the * working at the end of Makefile is more a beneficial side
> effect than wanted behaviour...

Um, point is it *doesn't* work and for me it *is* wanted behaviour :-(

> The scope of * in SciTE is much more
> limited than in a shell, it is mostly designed as a placeholder before a
> file extension. I guess you can't write Lex*.cxx either, for example.
> Well, AFAIK, of course.

Ok. Thanks,

-- 
Lionel B

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to