On Sun, 23 Jul 2006 21:05:44 +0300
"George Birbilis" <[EMAIL PROTECTED]> wrote:
> > All other IDE functions are using UTF-8 strings. They often
> > assign big parts of the synedit lines. Assigning ansistrings
> > is fast. But a widestring synedit must either convert
> > everything on the fly or keep additional all strings as UTF-8.
> > What about the official synedit? Does it support UTF-8?
>
> The UniSynEdit page has a link that explains the Unicode issues and which
> helper functions they added for Unicode, plus which functions of Delphi
need
> to not be used when porting to Unicode some app and what other changes are
> usually needed
>
> In any case, I'd suggest trying to contribute the Lazarus enchancements
> (apart from the UTF-8 stuff) to the latest SynEdit core (the UniSynEdit is
> supposed to keep in sync with it) and contribute the UTF-8 stuff to the
> UniSynEdit project for comparison with their version and consideration of
> which approach is better/faster if they differ in the handling of Unicode
The speed difference is not very important. At least the UTF-8 additions
made synedit hardly slower. And both UTF-8 and UTF-16 support the full
unicode.
IMO the goal is to
1. add most of the lazarus additions to the official synedit
2. replace the lazarus synedit with the official synedit and keep in sync,
so that both projects gain
About 1:
Basically the wepage of UniSynEdit says, it 'only' adds widestring and many
widestrings unicode functions to the normal synedit. Is this correct?
If yes, then the lazarus additions should be added to synedit and then to
unisynedit.
About 2:
The whole Lazarus IDE works with strings, not widestring.
The LCL will use strings, because that is more compatible to existing code.
Existing LCL applications using synedit uses strings.
It seems to me, we should merge with the normal synedit, instead of
unisynedit. But maybe I missed a point?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives