U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » TheIDE editor and accented words
TheIDE editor and accented words [message #33476] Thu, 11 August 2011 13:39 Go to next message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Hello all

Now when doing left double click in TheIDE editor it does not choose accented chars.

This way if strings have accented words, these are selected only partially.

The reason is that in CodeEditor.cpp, GetWordPos() chooses using iscid() that select ascii letters between a and Z. However with LineEdit, TextArrayOps::GetWordSelection() is more flexible.

Could it be possible to selected non ascii letters too?


Best regards
Iñaki
Re: TheIDE editor and accented words [message #33594 is a reply to message #33476] Sun, 28 August 2011 19:13 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
koldo wrote on Thu, 11 August 2011 07:39

Hello all

Now when doing left double click in TheIDE editor it does not choose accented chars.

This way if strings have accented words, these are selected only partially.

The reason is that in CodeEditor.cpp, GetWordPos() chooses using iscid() that select ascii letters between a and Z. However with LineEdit, TextArrayOps::GetWordSelection() is more flexible.

Could it be possible to selected non ascii letters too?


OK, why not, done.
Re: TheIDE editor and accented words [message #33599 is a reply to message #33594] Sun, 28 August 2011 23:06 Go to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Thanks Smile.

Best regards
Iñaki
Previous Topic: New/additional GetLngSet
Next Topic: Semi-automated translation for U++
Goto Forum:
  


Current Time: Sat Jun 20 13:31:55 GMT+2 2026

Total time taken to generate the page: 0.00494 seconds