Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-18 Thread Nick Treleaven
On 17/01/2012 20:36, Lex Trotman wrote: I think if all is needed is to copy SciLexer.h and the new lexer file, plus minor makefile changes, then a patch should be acceptable without upgrading Scintilla. We've done this in the past. Hi Nick, How does this work without a filetype to support

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-18 Thread Lex Trotman
On Thu, Jan 19, 2012 at 3:46 AM, Nick Treleaven nick.trelea...@btinternet.com wrote: On 17/01/2012 20:36, Lex Trotman wrote: I think if all is needed is to copy SciLexer.h and the new lexer file, plus  minor makefile changes, then a patch should be acceptable without upgrading  

[Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Ross McKay
G'day, I've hacked up some syntax highlighting support for SCSS[1] in a fork on github[2] and Neil at the Scintilla project has accepted it[3] So, how do I get this into Geany now? Obviously the Scintilla repo is ahead of the Geany version, however what I have in my Geany fork is compatible with

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Lex Trotman
On Tue, Jan 17, 2012 at 8:41 PM, Ross McKay ro...@zeta.org.au wrote: G'day, I've hacked up some syntax highlighting support for SCSS[1] in a fork on github[2] and Neil at the Scintilla project has accepted it[3] So, how do I get this into Geany now? Obviously the Scintilla repo is ahead of

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Lex Trotman
On Wed, Jan 18, 2012 at 12:46 AM, Nick Treleaven nick.trelea...@btinternet.com wrote: On 17/01/2012 09:59, Lex Trotman wrote: Geany prefers to use an unmodified Scintilla from that project. Upgrading Scintilla is not a minor task involving as it does checking and verification that all Geany

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Ross McKay
Lex Trotman wrote: Geany prefers to use an unmodified Scintilla from that project. Upgrading Scintilla is not a minor task involving as it does checking and verification that all Geany settings in all filetypes map correctly to all Scintilla styles and that all changes have been handled

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Ross McKay
Nick Treleaven wrote: I think if all is needed is to copy SciLexer.h and the new lexer file, plus minor makefile changes, then a patch should be acceptable without upgrading Scintilla. We've done this in the past. I've got it working in Geany now. 11 changed files with 277 additions and 25

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Lex Trotman
On Wed, Jan 18, 2012 at 8:04 AM, Ross McKay ro...@zeta.org.au wrote: Lex Trotman wrote: Geany prefers to use an unmodified Scintilla from that project. Upgrading Scintilla is not a minor task involving as it does checking and verification that all Geany settings in all filetypes map correctly to

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Ross McKay
Lex Trotman wrote: @Ross, Do you have some SCSS examples for testing? See attached, acid.css is what Neil Hodgson sent me for testing CSS, and example.scss has SCSS code including the acid tests modified to show off some SCSS features (basically, nesting, the nested parent operator, mixins,

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-17 Thread Matthew Brush
On 01/17/2012 01:54 PM, Lex Trotman wrote: [...] In general I'd say it could be added since a complete pull request is available. Pardon the serial post :) @Ross, Do you have some SCSS examples for testing? @All Devs, Should we make a section on the wiki for code fragments in each

[Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-01 Thread Ross McKay
G'day, I've hacked up some syntax highlighting support for SCSS[1] in a fork on github[2] if anyone wants to play with it. It's mostly working, although it still has a small bug with nesting and doesn't yet support nested properties (like: font: { weight: bold; size: 1em; }) Once I fix the

Re: [Geany-devel] SCSS (Sassy CSS) lexer support

2012-01-01 Thread Ross McKay
That nesting bug is fixed now. I'm leaving the nested properties alone as it isn't used here and it looks too hard for my addled brain to deal with today. -- Ross McKay, Toronto, NSW Australia Yeah, you just take your pill, and everything will be alright - Everclear