XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

Message
Author
User avatar
zephyr707
Posts: 60
Joined: Wed Jan 23, 2019 4:33 pm

XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#1 Post by zephyr707 »

Hello,
I want FeatherPad to recognize a period between two numbers when double clicking. So double clicking on 1000.00 would select that whole block rather than the block numbers on either side individually or the period individually if that makes sense. I'm not sure if this is a per application setting or something to be set in the XFCE preferences somewhere. xfce4-terminal has a specific preference setting for configuring this behavior:

Image

Code: Select all

Double click: Use this text box to specify characters or groups of characters that Terminal considers to be words when you select text by word.
how can I implement the same behavior in FeatherPad?

thank you

User avatar
Stevo
Developer
Posts: 14415
Joined: Fri Dec 15, 2006 7:07 pm

Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#2 Post by Stevo »

It seems to be more something that would have to be implemented in its Qt 6 code, instead of some desktop's settings.

https://github.com/tsujan/featherpad

Are there other text editors that already have this setting?
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
fehlix
Developer
Posts: 12574
Joined: Wed Apr 11, 2018 5:09 pm

Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#3 Post by fehlix »

zephyr707 wrote: Thu Apr 24, 2025 6:50 pm Hello,
I want FeatherPad to recognize a period between two numbers when double clicking. So double clicking on 1000.00 would select that whole block rather than the block numbers on either side individually or the period individually if that makes sense. I'm not sure if this is a per application setting or something to be set in the XFCE preferences somewhere. xfce4-terminal has a specific preference setting for configuring this behavior:
Try this: Press and hold Ctrl and double-click to mark the whole number.

User avatar
zephyr707
Posts: 60
Joined: Wed Jan 23, 2019 4:33 pm

Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#4 Post by zephyr707 »

fehlix wrote: Fri Apr 25, 2025 3:23 pm Try this: Press and hold Ctrl and double-click to mark the whole number.
thanks for the suggestion, i had already tried ctrl, alt, shift, and combos of the 3, but nothing worked

User avatar
zephyr707
Posts: 60
Joined: Wed Jan 23, 2019 4:33 pm

Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#5 Post by zephyr707 »

Stevo wrote: Fri Apr 25, 2025 2:01 pm It seems to be more something that would have to be implemented in its Qt 6 code, instead of some desktop's settings.

https://github.com/tsujan/featherpad

Are there other text editors that already have this setting?
oh bummer, def not worth it for that.

sublime has it in their prefs:

Code: Select all

// Characters that are considered to separate words
"word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
featherpad is really nice and lightweight as a default. will maybe try to look for an alt that is a bit more customizable or i guess vi/vim in terminal will work in a pinch

User avatar
Stevo
Developer
Posts: 14415
Joined: Fri Dec 15, 2006 7:07 pm

Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#6 Post by Stevo »

zephyr707 wrote: Mon Apr 28, 2025 12:36 am
fehlix wrote: Fri Apr 25, 2025 3:23 pm Try this: Press and hold Ctrl and double-click to mark the whole number.
thanks for the suggestion, i had already tried ctrl, alt, shift, and combos of the 3, but nothing worked
I don't really get it--holding down the Ctrl key and double clicking works here, at least with Featherpad 1.6.1.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
zephyr707
Posts: 60
Joined: Wed Jan 23, 2019 4:33 pm

Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)

#7 Post by zephyr707 »

oh dang, yeah i'm on an older build that has featherpad 0.16.0 on it, let me try my newer one, didn't even think of that, thanks!

Post Reply

Return to “Software / Configuration”