On Tue, 28 Feb 2006 14:22:44 -0300
"Flávio Etrusco" <[EMAIL PROTECTED]> wrote:
> > How does M.H. and the rest of the Synedit developers feel?
> I meant that I would leave the SynEdit project and develop in the
> Lazarus tree...
> By MH you mean Maël Hörz? The "other developers" right now is only
> him. And of course he wouldn't "exactly love" any idea like that since
> his done a huge work into making SynEdit use Unicode/WideString ;-)
> This is BTW one of the reasons I feel like "moving" to Lazarus. I
> always wanted to use utf-8, not utf-16 like him and most of the other
> people (who cared either way) prefered :-( Also he uses and targets
> newer versions of Delphi.
AFAIK synedit uses UCS16, not UTF16. But anyway, it's merely a matter of
taste. I prefer UTF8. We have to work with MBCS anyway, so I we can simply
stay with bytes.
> Actually, in the current state of FreePascal I see no reason for me to
> continue supporting Delphi. I love the language, but as a product
> Borland really messed it up.
>
> > The IFDEFs were added
> > - because of the MPL license
> Hmm, right. I don't think MPL provisions are that severe about code
> modifications but You have a point.
> I really hate $inc and $ifdef but fortunately Lazarus makes them much
> better to work with than Delphi does :-) Even then it would be nice to
> clean some of the crust at some point, sure?...
Sure.
Especially the highlighters contain a lot of IFDEFs needed by the objfpc
mode.
Maybe we can change here to mode Delphi.
For the algorithmic stuff like synedit.pp, I vote for keeping mode objfpc,
because it is less ambiguous. It helped me to find/avoid some nasty bugs in
synedit. This costs a few more IFDEFs. But the biggest part of the 390 laz
IFDEFs in synedit.pp exists because of other reasons: LCL/VCL differences,
optmiziations, new features, ... . So we would not gain much by switching to
mode Delphi in synedit.pp.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives