[lazarus] synedit patch from ales

2008-01-25 Thread Henry Vermaak
http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1618 can someone look into why his mails don't reach the list, please? thanks henry _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

[lazarus] Synedit Samples

2007-12-13 Thread Lee Jenkins
Are there any samples about to learn how to create a highlighter and param suggestions for Synedit? -- Warm Regards, Lee If I don't see you around here, I'll see you around, hear? _ To unsubscribe: mail [EMAIL PROTECTED]

Re: [lazarus] Synedit Samples

2007-12-13 Thread Mattias Gaertner
On Thu, 13 Dec 2007 13:38:51 -0500 Lee Jenkins [EMAIL PROTECTED] wrote: Are there any samples about to learn how to create a highlighter and param suggestions for Synedit? Normally you just take one similar and adapt it. The TSynPasSyn uses nearly all features, like code folding. Mattias

[lazarus] Synedit and highlighters

2007-12-08 Thread Mark Morgan Lloyd
I'm looking at the Synedit v2 SQL highlighter which has support for PostgreSQL. When I have time I'll try and backport this into the fork used by Lazarus- where should I send the patch when done? On a slightly different issue: does anybody know whether there's a way to get Synedit to apply a

Re: [lazarus] Synedit and highlighters

2007-12-08 Thread Mattias Gaertner
On Sat, 08 Dec 2007 17:07:17 + Mark Morgan Lloyd [EMAIL PROTECTED] wrote: I'm looking at the Synedit v2 SQL highlighter which has support for PostgreSQL. When I have time I'll try and backport this into the fork used by Lazarus- where should I send the patch when done? See here

Re: [lazarus] Synedit and highlighters

2007-12-08 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: I'm looking at the Synedit v2 SQL highlighter which has support for PostgreSQL. When I have time I'll try and backport this into the fork used by Lazarus- where should I send the patch when done? See here http://wiki.lazarus.freepascal.org/Creating_A_Patch Thanks.

[lazarus] Synedit syntax highlight

2007-10-11 Thread ik
Hello, Is there a guide or example with comments that explains how to create syntax highlight to SynEdit ? And does SynEdit support multiple syntax highlight in one source ? That is for example, PHP with CSS Javascript and HTML all in one syntax highlighter ? Thanks, Ido --

[lazarus] SynEdit flickers since r12175

2007-09-26 Thread Aleš Katona
SynEdit flickers in gtk2 since revision 12175 when you write something, or select text. Bugreport at http://www.freepascal.org/mantis/view.php?id=9779 Ales _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] SynEdit broken

2007-05-24 Thread Darius Blaszijk
After updating to latest revision just now, I can see no code anymore in SynEdit. Just a blank control. (WinXP, 2.0.4) The problem lies in revision 11188 most probably, because reverting to 11187 solves the problem. Don't count on me to test possible fixes because I'm leaving for the

Re: [lazarus] SynEdit broken

2007-05-24 Thread vsnijders
- Original Message - From: Darius Blaszijk [EMAIL PROTECTED] Date: Thursday, May 24, 2007 9:01 am Subject: [lazarus] SynEdit broken After updating to latest revision just now, I can see no code anymore in SynEdit. Just a blank control. (WinXP, 2.0.4) The problem lies in revision

[lazarus] SynEdit Docs

2007-03-30 Thread Lee Jenkins
Do these exist in any form? I have the source and it does not tell me what some things mean like this below. Assumes a bit more that I know personally synedit, etc. Thanks for any pointers. -- Warm Regards, Lee _ To

Re: [lazarus] SynEdit Docs

2007-03-30 Thread Flávio Etrusco
Like what below? There's no documentation for the official SynEdit, and AFAIK neither for the Lazarus version. Regards, Flávio On 3/30/07, Lee Jenkins [EMAIL PROTECTED] wrote: Do these exist in any form? I have the source and it does not tell me what some things mean like this below.

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 project (or

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. And

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 mean the

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, that everytime

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 convert

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 maybe I

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

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. It seems

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

2006-07-25 Thread Darius Blaszijk
- Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com 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 PROTECTED] wrote

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: lazarus@miraclec.com Sent: Tuesday, July 25, 2006 9:59 AM Subject: Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem

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 refactoring. E.g.

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

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

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

2006-07-23 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 what

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

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, I'm willing to try

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

2006-07-23 Thread Darius Blaszijk
- Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com 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 PROTECTED] wrote

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: lazarus@miraclec.com Sent: Sunday, July 23, 2006 12:27 PM Subject: Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem

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 UTF-8?

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

2006-07-23 Thread George Birbilis
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; begin RegisterComponents('SynEdit', [TSynUniSyn]); end; Should be removed (was added

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 literally

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, use

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

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 it be

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 library for FPC

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. Since it's a VCL

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

2006-07-22 Thread Darius Blaszijk
, 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 diff tool. Question about

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

2006-07-22 Thread Mattias Gaertner
enough, the synedit.sf.net site has the old SynEdit only. Thanks to Mazen lazarus synedit supports even bidi. Compile with -dUSE_UTF8BIDI_LCL. Same goes for Unihighlighter, the http://www.delphist.com/UniHighlighter.html site has the old one (the one Lazarus port used

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

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

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

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

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

2006-07-21 Thread George Birbilis
Message- From: George Birbilis [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 4:21 PM To: lazarus@miraclec.com Subject: RE: [lazarus] SynEdit + Unihighlighter 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

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

2006-07-21 Thread Mattias Gaertner
PROTECTED] Sent: Friday, July 21, 2006 4:21 PM To: lazarus@miraclec.com Subject: RE: [lazarus] SynEdit + Unihighlighter 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

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 way: procedure

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

Re: [lazarus] SynEdit

2006-06-04 Thread Mattias Gaertner
On Thu, 1 Jun 2006 19:38:29 -0300 Flávio Etrusco [EMAIL PROTECTED] wrote: 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

Re: [lazarus] SynEdit

2006-06-01 Thread Flávio Etrusco
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

[lazarus] SynEdit

2006-03-31 Thread George Birbilis
Has anybody gotten SynEdit (http://synedit.sf.net) and maybe also UniHighlighter to work under Lazarus? TIA, George George Birbilis ([EMAIL PROTECTED]) Microsoft MVP J# for 2004-2006 * QuickTime, QTVR, ActiveX, VCL, .NET http://www.kagi.com/birbilis * Robotics PhD student

RE: [lazarus] SynEdit

2006-03-31 Thread George Birbilis
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? tia, George George Birbilis ([EMAIL PROTECTED]) Microsoft MVP J# for 2004-2006 * QuickTime, QTVR, ActiveX

Re: [lazarus] SynEdit

2006-03-31 Thread Mattias Gaertner
, 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

Re: [lazarus] SynEdit

2006-03-31 Thread Felipe Monteiro de Carvalho
On 3/31/06, George Birbilis [EMAIL PROTECTED] wrote: Is the Lazarus SynEdit version available at synedit.sf.net or some private Lazarus modification of it? Well, in my Lazarus, I can see a SynEdit tab with almost 20 visual components. It´s after the System tab. And I did not install any extra

Re: [lazarus] SynEdit

2006-03-31 Thread L505
On 3/31/06, George Birbilis [EMAIL PROTECTED] wrote: Is the Lazarus SynEdit version available at synedit.sf.net or some private Lazarus modification of it? It is a private modification. So the one from sourceforge will not work. Sources for lazarus one are on your hard drive under /components

Re: [lazarus] Synedit patch

2006-03-12 Thread Mattias Gaertner
On Sat, 11 Mar 2006 20:01:26 -0700 L505 [EMAIL PROTECTED] wrote: Implemented GetHighlighterAttriAtRowColEx from looking at Delphi synedit. Better token sniffing available. See attached. Applied. Thanks. Mattias _ To

[lazarus] Synedit patch

2006-03-11 Thread L505
Implemented GetHighlighterAttriAtRowColEx from looking at Delphi synedit. Better token sniffing available. See attached. synhighattrex.patch Description: Binary data

Re: [lazarus] Synedit patch

2006-03-11 Thread L505
Implemented GetHighlighterAttriAtRowColEx from looking at Delphi synedit. Better token sniffing available. See attached. also, we might want to make some of those OUT instead of VAR parameters if you think it is better. Did not do that in the patch, please implement that if you want.

Re: [lazarus] Synedit error-Bit more

2005-11-15 Thread Timothy Ha
cc: (bcc: Christer T Johansson/SEROP/ABB) Subject: [lazarus] Synedit error-Bit more

Re: [lazarus] Synedit error-Bit more

2005-11-15 Thread dannym
Hi, Am Dienstag, den 15.11.2005, 11:09 +0300 schrieb Timothy Ha: Why don't we try Ord() function? Ord() doesn't work for sets. Ord is for Ordinal, which implies position. There is no position in sets. cheers, Danny _ To

[lazarus] Synedit error

2005-11-14 Thread John Samperi
I'm having some problems saving some of Synedit attributes to a .ini file Example: Background color of screen set to black as following during init: SynEdit1.Color:=clBlack; No error is generated at this point. When I try and use it in the .ini save/read procedures as follows:

Re: [lazarus] Synedit error

2005-11-14 Thread dhkblaszyk
myINI.WriteString('Editor','Background Colour',SynEdit1.Color); I get an error. Got TGraphicsColor expected AnsiString On first sight, I would expect WriteString to recieve strings, and not TColor, so either try : myINI.WriteString('Editor','Background Colour',IntToStr(SynEdit1.Color));

[lazarus] Synedit error-Bit more

2005-11-14 Thread John Samperi
OK so now I have Background colour and Font colour working using WriteInteger: myINI.WriteInteger('Editor','Background Colour',SynEdit1.Color); myINI.WriteInteger('Editor','Font Color',SynEdit1.Font.Color); Trying to do the same with Font.Style brings up another error Got TFontStyles

[lazarus] Synedit HEEELLLLPPPP

2005-11-10 Thread John Samperi
G'day all Well I think I'm stuck with what I can do with Synedit. Is there a newer version with more features? (Downloaded Lazarus about 2 weeks ago) Is there any good info on it? Can I: Get rid of the silver bar at the left hand side of Synedit? Use simple text mode? Wrap text around to

Re: [lazarus] Synedit HEEELLLLPPPP

2005-11-10 Thread Malcolm Poole
Hi John, On Thu, 10 Nov 2005 19:48 , John Samperi [EMAIL PROTECTED] sent: Get rid of the silver bar at the left hand side of Synedit? yourSynEdit.Gutter.Width := 0; OR yourSynEdit.Gutter.Visible := false; Use simple text mode? I didn't realise it could display anything other than simple