Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-26 Thread Mattias Gaertner
On Wed, 26 Jul 2006 19:56:46 +0300 "George Birbilis" <[EMAIL PROTECTED]> wrote: > > > > How is code folding called in synedit? I can't find it. > > > They don;t have it IIRC, there is another project though that > > > implements this. http://mystix.sourceforge.net > > > > On the web page is says,

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-26 Thread George Birbilis
> On the web page is says, that everytime you change the text > manually, you have to update the fold regions yourself. And > looking at the code it seems to me, that every update > traverses through all fold ranges. I wonder how much overhead > this creates for big sources. > > I assume you mea

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-26 Thread George Birbilis
> > > How is code folding called in synedit? I can't find it. > > They don;t have it IIRC, there is another project though that > > implements this. http://mystix.sourceforge.net > > On the web page is says, that everytime you change the text > manually, you have to update the fold regions yourself

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-26 Thread George Birbilis
> > (problem may > > be that they did their own codefolding - not sure which one works > > better) > > How is code folding called in synedit? I can't find it. Search the unihighlighter.com forum for "folding" and for "codefolding" to see post by the unihighlighter author regarding the mystix proje

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-25 Thread Mattias Gaertner
On Tue, 25 Jul 2006 10:08:37 +0200 "Darius Blaszijk" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Mattias Gaertner" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, July 25, 2006 9:59 AM > Subject: Re: [lazarus] SynEdit

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-25 Thread Darius Blaszijk
- Original Message - From: "Mattias Gaertner" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 9:59 AM Subject: Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem) On Tue, 25 Jul 2006 10:41:05 +0300 "George Birbilis" <[EMAIL P

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-25 Thread Mattias Gaertner
On Tue, 25 Jul 2006 10:41:05 +0300 "George Birbilis" <[EMAIL PROTECTED]> wrote: > > 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. >

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-25 Thread Mattias Gaertner
On Tue, 25 Jul 2006 10:35:33 +0300 "George Birbilis" <[EMAIL PROTECTED]> wrote: > A question then is if the highlighters work OK with Unicode. Not sure. > For example is AnsiUpperCase UNICODE-safe? Yes, if the installed widestringmanager handles strings as UTF-8. AFAIK, it does not yet. Has FPC a

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-25 Thread George Birbilis
> 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 ma

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-25 Thread George Birbilis
A question then is if the highlighters work OK with Unicode. Not sure. For example is AnsiUpperCase UNICODE-safe? > > > 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

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-24 Thread Mattias Gaertner
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 ke

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-24 Thread Mattias Gaertner
On Mon, 24 Jul 2006 14:36:20 +1100 "Alexander Klenin" <[EMAIL PROTECTED]> wrote: > On 7/23/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > > I have recently started poking around it and have some ideas ;-) > > > > What ideas? > Well, for starters, the code obviously will benefit from some refa

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread Alexander Klenin
On 7/23/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > I have recently started poking around it and have some ideas ;-) What ideas? Well, for starters, the code obviously will benefit from some refactoring. E.g. "mouse links" processing is spread over many different places, with some literal

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread George Birbilis
AM > To: lazarus@miraclec.com > Subject: RE: [lazarus] SynEdit + Unihighlighter (must have > fixed caps problem) > > > > I think I found the problem: > > > > > > 1) at SynUniHighlighter.pas, the > > > > > > procedure Register; > > > be

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread George Birbilis
> 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 UT

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread Mattias Gaertner
On Sun, 23 Jul 2006 13:42:59 +0200 "Darius Blaszijk" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Mattias Gaertner" <[EMAIL PROTECTED]> > To: > Sent: Sunday, July 23, 2006 12:27 PM > Subject: Re: [lazarus] SynEdit

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread Darius Blaszijk
- Original Message - From: "Mattias Gaertner" <[EMAIL PROTECTED]> To: Sent: Sunday, July 23, 2006 12:27 PM Subject: Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem) On Sun, 23 Jul 2006 10:22:00 +0200 "Darius Blaszijk" <[EMAIL PRO

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread Mattias Gaertner
On Sun, 23 Jul 2006 10:22:00 +0200 "Darius Blaszijk" <[EMAIL PROTECTED]> wrote: > >> Question about SynEdit: I know the lazarus version is a very > >> customized one from old source... Will it be replaced by a newer > >> version from the original project? > > > > Yes, eventually. > > Mattias, >

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-23 Thread Darius Blaszijk
Question about SynEdit: I know the lazarus version is a very customized one from old source... Will it be replaced by a newer version from the original project? Yes, eventually. Mattias, I'm willing to try to port UniSynEdit to Lazarus (and keep it in sync with their trunk), however how do y

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Sun, 23 Jul 2006 14:54:49 +1100 "Alexander Klenin" <[EMAIL PROTECTED]> wrote: > On 7/22/06, George Birbilis <[EMAIL PROTECTED]> wrote: > > I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime in > > the future when I do, I'll see what it takes to port the to Lazarus (seeing

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Alexander Klenin
On 7/22/06, George Birbilis <[EMAIL PROTECTED]> wrote: I haven't tried SynEdit 2.x and the new Unihighlighter yet, but sometime in the future when I do, I'll see what it takes to port the to Lazarus (seeing what changes had been done to old SynEdit to port it) Does that mean that there is no po

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread George Birbilis
rge Birbilis" <[EMAIL PROTECTED]> > To: > Sent: Saturday, July 22, 2006 12:10 PM > Subject: RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps > problem) > > > >> > Not sure how to make a patch btw, is there some builtin tool at >

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:10:23 +0300 "George Birbilis" <[EMAIL PROTECTED]> wrote: > > > Not sure how to make a patch btw, is there some builtin tool at > > > lazarus to make Diffs or similar? Or does one use > > TortoiseCVS menu to do the Diff? > > > > Yes, use TortoiseSVN diff tool. > > > > Questio

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Darius Blaszijk
: Saturday, July 22, 2006 12:10 PM Subject: RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem) > Not sure how to make a patch btw, is there some builtin tool at > lazarus to make Diffs or similar? Or does one use TortoiseCVS menu to do the Diff? Yes, use TortoiseSVN

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: > On Sat, 22 Jul 2006 13:10:23 +0300 > "George Birbilis" <[EMAIL PROTECTED]> wrote: > > > > > (i.e. does the original project now support FPC compiler > > > and lazarus) > > > > > > The FPC compiler: Yes, of course > > > Lazarus: I don't know. > > >

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Sat, 22 Jul 2006 13:10:23 +0300 "George Birbilis" <[EMAIL PROTECTED]> wrote: > > > (i.e. does the original project now support FPC compiler > > and lazarus) > > > > The FPC compiler: Yes, of course > > Lazarus: I don't know. > > Since it's a VCL control how can this be? Is there other VCL libr

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread George Birbilis
> > (i.e. does the original project now support FPC compiler > and lazarus) > > The FPC compiler: Yes, of course > Lazarus: I don't know. Since it's a VCL control how can this be? Is there other VCL library for FPC too? George Birbilis ([EMAIL PROTECTED]) Microsoft MVP J# for 200

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread George Birbilis
> > Not sure how to make a patch btw, is there some builtin tool at > > lazarus to make Diffs or similar? Or does one use > TortoiseCVS menu to do the Diff? > > Yes, use TortoiseSVN diff tool. > > Question about SynEdit: I know the lazarus version is a very > customized one from old source... Will

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Mattias Gaertner
On Fri, 21 Jul 2006 20:21:57 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > 2006/7/21, George Birbilis <[EMAIL PROTECTED]>: > > Not sure how to make a patch btw, is there some builtin tool at lazarus to > > make Diffs or similar? Or does one use TortoiseCVS menu to do the Diff? > > Yes, u

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-21 Thread Alexandre Leclerc
2006/7/21, George Birbilis <[EMAIL PROTECTED]>: Not sure how to make a patch btw, is there some builtin tool at lazarus to make Diffs or similar? Or does one use TortoiseCVS menu to do the Diff? Yes, use TortoiseSVN diff tool. Question about SynEdit: I know the lazarus version is a very custom

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-21 Thread George Birbilis
> > I think I found the problem: > > > > 1) at SynUniHighlighter.pas, the > > > > procedure Register; > > begin > > RegisterComponents('SynEdit', [TSynUniSyn]); end; > > > > Should be removed (was added by Tom). The component registration > > action is repeated at SynUniReg.pas in a more correct

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-21 Thread Mattias Gaertner
elphi and non-Delphi mode OK. Will you create a patch? Mattias > > cheers, > George > > > George Birbilis ([EMAIL PROTECTED]) > Microsoft MVP J# for 2004-2006 > Borland "Spirit of Delphi" > * QuickTime, QTVR, ActiveX, VCL, .NET > http://www.kagi.

RE: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-21 Thread George Birbilis
www.kagi.com/birbilis * Robotics http://www.mech.upatras.gr/~Robotics http://www.mech.upatras.gr/~robgroup > -Original Message- > From: George Birbilis [mailto:[EMAIL PROTECTED] > Sent: Friday, July 21, 2006 4:21 PM > To: lazarus@miraclec.com > Subject: RE: [lazarus] SynEdit + Unihighlig

RE: [lazarus] SynEdit + Unihighlighter

2006-07-21 Thread George Birbilis
> I have the same captials for a Lisp editor I once made, but I > thought it was just a settings that wasn't correct. It didnt > bother me at the time. Afaik it's a showstopper for a project we have and will have to fix it myself most probably, that's why I'm asking if others have fixed this alrea

Re: [lazarus] SynEdit + Unihighlighter

2006-07-21 Thread dhkblaszyk
I have the same captials for a Lisp editor I once made, but I thought it was just a settings that wasn't correct. It didnt bother me at the time. Darius > Some colleagues tell me they found a Unihighlighter in Lazarus that's > quite > different from the one at unihighlighter.sf.net (I don't supp

[lazarus] SynEdit + Unihighlighter

2006-07-21 Thread George Birbilis
Some colleagues tell me they found a Unihighlighter in Lazarus that's quite different from the one at unihighlighter.sf.net (I don't suppose it's the newer one from unihighlighter.com). It doesn't seem to work OK (they tried with the Lazarus version of SynEdit). Whatever they type-in shows in capit