[lazarus] New synedit patch

2008-01-27 Thread Ales Katona
This is a revised version of my synedit patch which adds support for doubleclick selection of utf-8 text as well as puts all the changes in {$IFDEF SYN_LAZARUS}. To sum it up: 1. it inverts parsing logic to use Highlighter.WordBlockChars + TSynWhiteChars (or TSynWordBlockChars +

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
Thanks, applied as it's much better then the current behavior. However, it still isn't perfect. On: Caption := 'éé'; Edit1.Text := 'éé'; If you double click Caption the cursor ends up 1 char before C If you double click Text it goes between t and 1 thanks, -- Felipe Monteiro de

Re: [lazarus] New synedit patch

2008-01-27 Thread Paul Ishenin
Felipe Monteiro de Carvalho wrote: If you double click Text it goes between t and 1 Sorry, where is 1 in word Text :) ? Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): Thanks, applied as it's much better then the current behavior. However, it still isn't perfect. On: Caption := 'éé'; Edit1.Text := 'éé'; If you double click Caption the cursor ends up 1 char before C If you double click Text it

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): Thanks, applied as it's much better then the current behavior. However, it still isn't perfect. On: Caption := 'éé'; Edit1.Text := 'éé'; If you double click Caption the cursor ends up 1 char before C If you double click Text it

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
On Jan 27, 2008 3:48 PM, Paul Ishenin [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: If you double click Text it goes between t and 1 Sorry, where is 1 in word Text :) ? It's on the word on the left of it: Edit1.Text The idea is that you click one word and the caret goes to

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
Thanks applied. I did some testing and it looks perfect now =) thanks again, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
Felipe Monteiro de Carvalho wrote / napísal(a): On Jan 27, 2008 3:48 PM, Paul Ishenin [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: If you double click Text it goes between t and 1 Sorry, where is 1 in word Text :) ? It's on the word on the left of it:

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
Ok, so we are now reduced to zero known regressions introduced by unicode win32 Lazarus. Just thougth I could use this opportunity to encourage people to test it =) thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe:

Re: [lazarus] New synedit patch

2008-01-27 Thread zaher dirkey
How we can test it?, i use compile from SVN i will use Arabic language in my units (strings). Is we can use it also for WinCE? On Jan 27, 2008 6:20 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Ok, so we are now reduced to zero known regressions introduced by unicode win32 Lazarus.

Re: [lazarus] New synedit patch

2008-01-27 Thread Ales Katona
zaher dirkey wrote / napísal(a): How we can test it?, i use compile from SVN i will use Arabic language in my units (strings). Is we can use it also for WinCE? On Jan 27, 2008 6:20 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ok, so we are now

Re: [lazarus] New synedit patch

2008-01-27 Thread Felipe Monteiro de Carvalho
On Jan 27, 2008 10:43 PM, zaher dirkey [EMAIL PROTECTED] wrote: How we can test it?, i use compile from SVN i will use Arabic language in my units (strings). You need to recompile with unicode enabled: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Compiling_LCL-Win32_with_Unicode