Re: [lazarus] UTF-8 input handling

2007-09-22 Thread ik
On 9/21/07, zaher dirkey [EMAIL PROTECTED] wrote: I wonder how could Right-To-Left work on the code editor. You mean Right-To-Left in SynEdit, Especially in strings and comments. I think mixing LTR and RTL in same text will be complex to read it. That's why people invented Bidi

Re: [lazarus] UTF-8 input handling

2007-09-22 Thread ik
Oh, I forgot to add the links :) http://unicode.org/reports/tr9/ http://unicode.org/faq/bidi.html On 9/22/07, ik [EMAIL PROTECTED] wrote: On 9/21/07, zaher dirkey [EMAIL PROTECTED] wrote: I wonder how could Right-To-Left work on the code editor. You mean Right-To-Left in SynEdit, Especially

Re: [lazarus] UTF-8 input handling

2007-09-21 Thread zaher dirkey
I wonder how could Right-To-Left work on the code editor. You mean Right-To-Left in SynEdit, Especially in strings and comments. I think mixing LTR and RTL in same text will be complex to read it.

Re: [lazarus] UTF-8 input handling

2007-09-17 Thread Felipe Monteiro de Carvalho
On 9/9/07, zaher dirkey [EMAIL PROTECTED] wrote: For now Right-To-Left work fine with Win32 http://wiki.lazarus.freepascal.org/index.php/BidiMode I wonder how could Right-To-Left work on the code editor. Because pascal uses english words, which is obviusly ltf, so if the comments are in a

Re: [lazarus] UTF-8 input handling

2007-09-17 Thread Graeme Geldenhuys
Hi Felipe, All I know is that it is possible. :) From a implementation point of view - no idea yet. Here is a link I bookmarked a while back for when I want to implement full UTF-8 (input) support in fpGUI. It shows Caret positioning, selection of text, ltr and rtl in the same line, etc...

Re: [lazarus] UTF-8 input handling

2007-09-08 Thread zaher dirkey
Right-To-Left handling and selection of Right-To-Left text? Someone was working on this for the native widgets. I don't know the current state. For now Right-To-Left work fine with Win32 http://wiki.lazarus.freepascal.org/index.php/BidiMode I am very busy this days to work on GTK, but when i

Re: [lazarus] UTF-8 input handling

2007-09-05 Thread Felipe Monteiro de Carvalho
On 9/5/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Does the LCL text components (like TEdit and TMemo) handle UTF-8 input? Yes. On Windows they handle it if you recompile lcl with the unicode switch. Actually the input isn't UTF-8 on Windows, but rather either UTF-16 or Ansi, but we convert

Re: [lazarus] UTF-8 input handling

2007-09-05 Thread A.J. Venter
Felipe Monteiro de Carvalho wrote: On 9/5/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Does the LCL text components (like TEdit and TMemo) handle UTF-8 input? Yes. On Windows they handle it if you recompile lcl with the unicode switch. Actually the input isn't UTF-8 on Windows, but