Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-12-17 15:23:35

Clio
Member
Registered: 2011-01-25
Posts: 109
LinuxFirefox 134.0

mousepad change view

https://forum.xfce.org/viewtopic.php?id=17931

@ToZ
I had already asked about this, see #5 and #6 (sorry RaySurf), but it's not quite what I meant.
I have attached screenshots. Your code spreads the range of line numbers, but I meant the space before the text field, i.e. between the line number and the text.

Unfortunately, I can't get along with the dom-inspector, so I can't find the identifier for the text area. If you could tell me, I would be very grateful.

https://www.directupload.eu/file/d/8771 … qn_png.htm
https://www.directupload.eu/file/d/8771 … i4_png.htm

regards

Offline

#2 2024-12-17 17:39:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,678
LinuxFirefox 133.0

Re: mousepad change view

.mousepad .sourceview {padding-left: 10px}

...works for me. Can you add that code to your ~/.config/gtk-3.0/gtk.css file, restart mousepad, and post back an image of the spacing?

Edit: also which version of mousepad are you using? If you've got an older version than ".mousepad" might not yet be defined in the code.

Last edited by ToZ (2024-12-17 17:40:24)


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-12-17 19:09:59

Clio
Member
Registered: 2011-01-25
Posts: 109
LinuxFirefox 134.0

Re: mousepad change view

Thank you for your reply.
My system is a debian sid with mousepad 0.6.3-1

On my screenshot the cursor is directly under the dot, at the beginning of the text area.
I would like to have a little more space to the left of it, not in the area of the line numbers.

https://www.directupload.eu/file/d/8771 … 8u_png.htm

Offline

#4 2024-12-18 00:43:24

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,678
LinuxFirefox 133.0

Re: mousepad change view

I don't think that's possible unfortunately, the sourceview widget doesn't appear to support that. However, if you click in the space between the number and the text it should move the text cursor to that line. Would that suffice?


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2024-12-18 12:42:03

Clio
Member
Registered: 2011-01-25
Posts: 109
LinuxFirefox 134.0

Re: mousepad change view

Unfortunately, but yes, it all works, so it's just a cosmetic thing. But with a little more space at the beginning, it would be nicer to use.

thanks for checking the code
and best regards

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 548.01 KiB (Peak: 548.85 KiB) ]