You are not logged in.

#1 2019-02-09 09:07:57

ua4000
Member
Registered: 2015-10-14
Posts: 168

[SOLVED] Mousepad - column mode ?

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

#2 2019-02-09 17:05:49

ondoho
Member
Registered: 2013-04-30
Posts: 397
Website

Re: [SOLVED] Mousepad - column mode ?

ua4000 wrote:

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

#3 2019-02-09 18:32:26

ua4000
Member
Registered: 2015-10-14
Posts: 168

Re: [SOLVED] Mousepad - column mode ?

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

#4 2019-02-09 20:30:24

ondoho
Member
Registered: 2013-04-30
Posts: 397
Website

Re: [SOLVED] Mousepad - column mode ?

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

#5 2019-02-09 20:57:51

ua4000
Member
Registered: 2015-10-14
Posts: 168

Re: [SOLVED] Mousepad - column mode ?

ondoho wrote:

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"


ondoho wrote:

And Ctrl-Shift-Alt, do you mean together with dragging the mouse?

Yes, I found it here: https://askubuntu.com/questions/647854/ … n-mousepad

ondoho wrote:

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

#6 2019-02-09 22:29:45

toz
Member
Registered: 2011-10-28
Posts: 410

Re: [SOLVED] Mousepad - column mode ?

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 sad */

If you build mousepad with GTK2 libraries (--disable-gtk3), you can get the functionality back.

Offline

#7 2019-02-10 08:33:40

ua4000
Member
Registered: 2015-10-14
Posts: 168

Re: [SOLVED] Mousepad - column mode ?

Thanks very much !!!

Ok, then I will stick with notepadqq (qt5) for tasks were I need column mode.

Offline

#8 2019-02-12 09:34:39

ondoho
Member
Registered: 2013-04-30
Posts: 397
Website

Re: [SOLVED] Mousepad - column mode ?

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

Board footer

Powered by FluxBB