Page 1 of 1
XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Thu Apr 24, 2025 6:50 pm
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:
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
Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Fri Apr 25, 2025 2:01 pm
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?
Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Fri Apr 25, 2025 3:23 pm
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.
Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Mon Apr 28, 2025 12:36 am
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
Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Mon Apr 28, 2025 12:39 am
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
Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Mon Apr 28, 2025 1:15 am
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.
Re: XFCE/FeatherPad double click: specify characters as part of word (similar to xfce4-terminal)
Posted: Mon Apr 28, 2025 2:16 am
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!