You are not logged in.
Mousepad has column mode support, "Edit > Change the selection", or with CTRL+SHIFT+ALT.
I found some older posts were it supposedly worked in the past.
But for me it doesn't work now, Mousepad 0.4.1.
Am I too stupid to use it or is it broken at the moment ?
Could anyone test it ?
Thanks!
Last edited by ua4000 (2019-02-10 08:34:02)
Offline
Mousepad has column mode support, "Edit > Change the selection", or with CTRL+SHIFT+ALT.
Could anyone test it ?
i just did, but i'm not sure what this is supposed to do?
Offline
Thanks for testing!
Column mode on texteditors mean, you could e.g.
abcdef
abcdef
abcdef
select colum c+d (not lines!), and then delete it with one key, or move it to the last column. Or you could copy a column from another file and paste it at column 2.
Offline
i see.
i cannot conceive how "Change Selection" could be refering to that feature.
And Ctrl-Shift-Alt, do you mean together with dragging the mouse?
in any case, i cannot seem to be able to make a column selection either.
it does, however, have a Paste Special => Paste as Column option, which seems to work.
where are you getting the information that all this is part of mousepad?
Offline
i cannot conceive how "Change Selection" could be refering to that feature.
You are not alone :-)
See the bugreport "Change the selection" to "Toggle block selection mode": https://bugzilla.xfce.org/show_bug.cgi?id=12774
Also the feature is explained in the botton line of Mousepad, if you place the mouse on the menu:
"Change a normal selection into a column selection and vice versa"
And Ctrl-Shift-Alt, do you mean together with dragging the mouse?
Yes, I found it here: https://askubuntu.com/questions/647854/ … n-mousepad
in any case, i cannot seem to be able to make a column selection either.
it does, however, have a Paste Special => Paste as Column option, which seems to work.
Yes, exactly for me too.
I'm still wondering if it's a bug in Mousepad, or my LXQT, which is maybe catching also the Ctrl-Shift-Alt. But in a wayland/weston session it also not working...
Offline
The functionality was lost in the migration to GTK3 because GTK3 dropped support for the function that were being used. From https://git.xfce.org/apps/mousepad/tree … view.c#n30"
/* GTK+ 3 removed textview->im_context which is used for multi-selection and
* nobody has re-written multi-selection feature to not use this field
* so if building with GTK3 or with GSEAL_ENABLE disable the multi-select
* feature altogether */
If you build mousepad with GTK2 libraries (--disable-gtk3), you can get the functionality back.
Offline
Thanks very much !!!
Ok, then I will stick with notepadqq (qt5) for tasks were I need column mode.
Offline
I was thinking and I realised that I cannot imagine ever needing that functionality, with the exception of exact duplication of pedantically structured code where everything is perfectly tab-aligned...
if i want to replace only part of a line across many lines, a regex-based search-and-replace usually makes much more sense.
Offline