Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
I just tested the patch and it doesn't fixes selecting utf-8 words on synedit. This doesn't mean it isn't on the right direction. I don't know what is missing, as from the description I would think this should start working. -- Felipe Monteiro de Carvalho

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
Another test line: Caption := 'éé'; Behaves like before patching. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: synedit patch from ales

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): I tested with this line (utf-8 encoded), specifically the last word: Application.Title:='Minha Aplicação'; Double clicking on the left part selects Aplica. Clicking on the accented part does nothing and clicking on o selects only o and puts

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
Oh, and another detail. I am not 100% sure, but I think that changes should be around ifdef SYN_LAZARUS thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: synedit patch from ales

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): I tested with this line (utf-8 encoded), specifically the last word: Application.Title:='Minha Aplicação'; Double clicking on the left part selects Aplica. Clicking on the accented part does nothing and clicking on o selects only o and puts

Re: synedit patch from ales

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): I just tested the patch and it doesn't fixes selecting utf-8 words on synedit. This doesn't mean it isn't on the right direction. I don't know what is missing, as from the description I would think this should start working. What words did you

Re: synedit patch from ales

2008-01-27 Thread Felipe Monteiro de Carvalho
On Jan 27, 2008 11:33 AM, Ales Katona [EMAIL PROTECTED] wrote: What words did you test? Can you send the test sample to me? I tested on some slovak accented (eg: 2byte chars) words and it worked perfectly. I tested with this line (utf-8 encoded), specifically the last word:

Re: synedit patch from ales

2008-01-25 Thread Felipe Monteiro de Carvalho
Hi, Please define what exactly does this patch fixes. The IDE will eventually only pass UTF-8 to synedit. Then we need an UTF-8 word boundary test. I commited a partial implementation for that around ifdef: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=13868

Re: synedit patch from ales

2008-01-25 Thread Mattias Gaertner
On Fri, 25 Jan 2008 18:30:11 +0100 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On Jan 25, 2008 6:23 PM, Ales Katona [EMAIL PROTECTED] wrote: Yes, and I'm not 100% sure of what everything that would constitute (eg: I don't think there's a valid blockchar in multibyte range), but

Re: synedit patch from ales

2008-01-25 Thread Felipe Monteiro de Carvalho
On Jan 25, 2008 6:48 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: I think this is pretty slow and needs too much memory. For example: It increases the Dest array in steps of one while allocating one mem block for each character. Can you explain, what are you trying to achieve? Then we can

Re: synedit patch from ales

2008-01-25 Thread Mattias Gaertner
On Fri, 25 Jan 2008 17:25:07 +0100 Ales Katona [EMAIL PROTECTED] wrote: Mattias Gärtner wrote / napísal(a): The character sets in synedit are 'set of char', which means only 8bit. So, I guess the patch tries to fix an ANSI codepage accented chars problem, right? The fix is probably

Re: synedit patch from ales

2008-01-25 Thread Ales Katona
Mattias Gärtner wrote / napísal(a): The character sets in synedit are 'set of char', which means only 8bit. So, I guess the patch tries to fix an ANSI codepage accented chars problem, right? The fix is probably useless on other codepages including UTF-8, right? Not as such. The problem is

Re: synedit patch from ales

2008-01-25 Thread Marc Weustink
Ales Katona wrote: Felipe Monteiro de Carvalho wrote / napísal(a): On Jan 25, 2008 6:23 PM, Ales Katona [EMAIL PROTECTED] wrote: That's not enougth. It already works for ascii characters today. Please test with both unicode and non-unicode IDE on strings with accented characters. ASCII

[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

Re: synedit patch from ales

2008-01-25 Thread Henry Vermaak
On 25/01/2008, Henry Vermaak [EMAIL PROTECTED] wrote: http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1618 from #lazarus-ide: Almindor say it fixes word-parsing in synedit specially for accented chars etc. _ To

Re: synedit patch from ales

2008-01-25 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): On Jan 25, 2008 6:23 PM, Ales Katona [EMAIL PROTECTED] wrote: That's not enougth. It already works for ascii characters today. Please test with both unicode and non-unicode IDE on strings with accented characters. ASCII doesn't have

Re: synedit patch from ales

2008-01-25 Thread Felipe Monteiro de Carvalho
On Jan 25, 2008 6:23 PM, Ales Katona [EMAIL PROTECTED] wrote: Yes, and I'm not 100% sure of what everything that would constitute (eg: I don't think there's a valid blockchar in multibyte range), but for 99% of usages the current blockchars (+ whitechars) which are 127 seem to be working