On Wed, 1 Mar 2006 01:08:10 -0300
"Flávio Etrusco" <[EMAIL PROTECTED]> wrote:

> Lengthy email warning! :-$
> 
> > AFAIK synedit uses UCS16, not UTF16.
> 
> Hmm, very probably. I was not aware of the difference until now, when
> You and Google enlightened me ;-)
> There was some talk about supporting UTF16, but I never used
> "UniSynEdit" so I don't know how it ended up.
> 
> > 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.
> 
> Well, the way Windows (and so Delphi, and recently FPC) handles
> WideStrings (no refcount) feels like a step backwards and would
> introduce some issues for big files and big "lines". And of course I
> don't like the waste of memory :-(
> And Unicode support in D5  is far from comfortable...
> 
> > > (...) 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.
> 
> Wow! :-D
> I can't even remember the last time a could have a technical
> discussion on SynEdit :-)  Never mind a technical _decision_ :-(
> 
> > (...) I vote for keeping mode objfpc,
> > because it is less ambiguous.  It helped me to find/avoid some nasty
> > bugs in synedit.
> 
> Do you remember by head any of these? I love language corner-cases ;-)

It is some years ago. Probably some pointer arithmetic with typecasts.


> Some changes I'd like to have/do in SynEdit:
> - Move the search method to an external component.

Good idea. We need this anyway for multiline search and column search.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to