On 6/1/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
On 3/31/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> > Indeed, had forgotten that it seems Lazarus uses SynEdit for the
> > source-code editor
> > Is the Lazarus SynEdit version available at synedit.sf.net or some private
> > Lazarus modification of it? If it's the 2nd, where can I get it and on
> > which SynEdit version was it based?
>
> 1.3
> with hundreds of additions.
>
> Mattias
Just being picky, there wasn't a version 1.3, we jumped from 1.1 to
2.0 (ot: contrary to my opinion, which was for a 1.2 release...).
So - and guessing from the code - it must be 1.1.
Like what was added to SynEdit?
Major change AFAICS: code folding.
All the other changes I can remeber are either really minors
(one-liners-like) or are supported in newest SynEdit with some other
form.
Could we give them a patch of what
we have added to get the two in sync. Surely it would benefit us if
we were in sync with the latest SynEdit. That way we can always grab
the lastest version for SF and compile it into Lazarus (or would that
be a impossibility).
Right now I have it "basically" working, but in the mean time I'm
playing with inheriting it from TScrollingWinControl to avoid that
dang Windows API calls. I'll discuss the patch soon.
I just think it is silly for us to fix bugs in SynEdit, when they
already fixed them in v2. Referring to Tabs as an example and I am
sure there are lots of others.
Anybody know if SynEdit v2 is just a continuation of SynEdit v1, or
was it a complete rewrite. Could we try any apply some of the SynEdit
v2 changes to the Lazarus synedit.pp to get them on par.
No, it's not a complete rewrite.
But I sure always wanted and am always wanting to do it ;-)
NOTE: I am not familiar with synedit code, so if all this sounds like
rubbish, just tell me so. ;-)
Regards,
Graeme.
Cheers,
Flávio
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives