KHMan | 2 Aug 2009 06:17
Picon

Re: full featured lexer template


fogus wrote:
> You know, that sounds similar to what I want.  I also want a lexer
> template with, say 10 different keyword categories, customizable
> folding, customizable function/class name definitions, etc.  A fully
> functional template.  I would like to be able to just copy and name
> the lexer something else, say "foo", grab *.foo files and interpret
> them with my new foo lexer.

You can already do this using property files if language XYZ is 
quite similar to language ABC. On keyword categories, you can 
offer your extended keyword list support as patches to improve 
Scintilla.

> How can SciTE be "fully customizable" unless it can support new lexers
> being added without source code modification?

You're being pedantic with words.

Send in a patch. Show us the code. Make that magical lexer and 
show it to us, and we will treat you like a code God. :-)

Seriously, most F/LOSS software are very resource-constrained. 
When a user suggests something, the community can't jump up, drop 
everything, and implement it. Everyone is busy with other things. 
Those of us who are on many mailing lists won't even reply to most 
e-mails.

So the surest way of effecting change is to make it happen 
yourself. I realize this is hard for non-developers, but lack of 
(Continue reading)

xtian | 3 Aug 2009 23:02
Picon

Re: full featured lexer template


> You can already do this using property files if language XYZ is
> quite similar to language ABC. On keyword categories, you can
> offer your extended keyword list support as patches to improve
> Scintilla.

My problem stemmed from wanting the features of multiple lexers.

> Send in a patch. Show us the code. Make that magical lexer and
> show it to us, and we will treat you like a code God. :-)

As a result of this an my other recent requests, I did make some
progress.
However, I'm not a programmer so what I did was pretty messy and
really not a
general solution.  I replaced some hard-coded key characters with my
own.

> I also want a lexer
> template with, say 10 different keyword categories, customizable
> folding, customizable function/class name definitions, etc.

From what I can see, that appears to be do-able but it's beyond what I
currently know.  If you're a programmer or know a programmer, it's
pretty easy to add keywords.  You'll have to recompile the
SciLexer.dll and SciTE.exe.

Thanks Guys!
Christian
--~--~---------~--~----~------------~-------~--~----~
(Continue reading)

fogus | 3 Aug 2009 22:08
Picon

Re: full featured lexer template


Where is the programming documentation? (please do not point me to
http://www.scintilla.org/SciTEDoc.html --that is not programming
documentation)

On Aug 1, 9:17 pm, KHMan <keinh... <at> gmail.com> wrote:
> fogus wrote:
> > You know, that sounds similar to what I want.  I also want a lexer
> > template with, say 10 different keyword categories, customizable
> > folding, customizable function/class name definitions, etc.  A fully
> > functional template.  I would like to be able to just copy and name
> > the lexer something else, say "foo", grab *.foo files and interpret
> > them with my new foo lexer.
>
> You can already do this using property files if language XYZ is
> quite similar to language ABC. On keyword categories, you can
> offer your extended keyword list support as patches to improve
> Scintilla.
>
> > How can SciTE be "fully customizable" unless it can support new lexers
> > being added without source code modification?
>
> You're being pedantic with words.
>
> Send in a patch. Show us the code. Make that magical lexer and
> show it to us, and we will treat you like a code God. :-)
>
> Seriously, most F/LOSS software are very resource-constrained.
> When a user suggests something, the community can't jump up, drop
> everything, and implement it. Everyone is busy with other things.
(Continue reading)

Philippe Lhoste | 4 Aug 2009 08:56
Picon

Re: full featured lexer template


On 03/08/2009 22:08, fogus wrote:
> Where is the programming documentation? (please do not point me to
> http://www.scintilla.org/SciTEDoc.html --that is not programming
> documentation)

You should look at the programming Documentation 
<http://www.scintilla.org/ScintillaDoc.html> of Scintilla, the display 
and lexing component of SciTE, instead.

--

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

KHMan | 4 Aug 2009 04:59
Picon

Re: full featured lexer template


fogus wrote:
> Where is the programming documentation? (please do not point me to
> http://www.scintilla.org/SciTEDoc.html --that is not programming
> documentation)

If you have to ask, then I think replying to this is not a wise 
use of my time. :-) No offense, but I'll just leave others to talk 
on this thread...

> On Aug 1, 9:17 pm, KHMan wrote:
>> fogus wrote:
>>> You know, that sounds similar to what I want.  I also want a lexer
>>> template with, say 10 different keyword categories, customizable
>>> folding, customizable function/class name definitions, etc.  A fully
>>> functional template.  I would like to be able to just copy and name
>>> the lexer something else, say "foo", grab *.foo files and interpret
>>> them with my new foo lexer.
>> You can already do this using property files if language XYZ is
>> quite similar to language ABC. On keyword categories, you can
>> offer your extended keyword list support as patches to improve
>> Scintilla.
>> [snipped all]

--

-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

--~--~---------~--~----~------------~-------~--~----~
(Continue reading)


Gmane