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 the carret at the end of the line.

Lazarus is compiled with build+clean and with the option -dWindowsUnicodeSupport

thanks,
I missed some function. If you use GetWordAtRowCol or GetWordBoundsAtRowCol or NextWordPos functions, you get the whole word/boundaries. Doubleclick in synedit uses SetWordBlock (in lazarus/non-lineselect case) which I didn't look at (and it seems to try some ugly utf-8 conversion which I guess didn't work)

Ales

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to