Hi Vincent,

On Thu, Oct 09, 2025 at 12:41:22AM +0200, Vincent Lefevre wrote:
> In the Find dialogue box, one can double-click on a word to select
> this word. But this does not work correctly when there are non-ASCII
> letters. For instance, type "abcdéfg", and double-click on "b"; the
> result is that only "abcd" is selected instead of the whole word.

I don't think I've got any control over that in xpopple -- it does the
same in the text box in the Open dialog, and other Motif apps behave the
same way (unless they don't set the locale at all).

Looking at the Motif code, this behaviour is controlled by the FindWord
and _XmTextFieldIsWordBoundary functions in lib/Xm/TextF.c.
The latter looks like it will always treat characters that take up more
than one byte in the encoding as word boundaries, which would explain
this behaviour...

Cheers,

-- 
Adam Sampson <[email protected]>                         <http://offog.org/>

Reply via email to