BG-setting for line-number column

Features wanted...
Stef123

BG-setting for line-number column

Post by Stef123 »

Allow blending it in with the overall color scheme of different (shaded) pane colors.
From the top of my mind I could envision 2 ways to achieve that:
- add another slot to provide settings for either state (active and inactive)
- ignore this BG-setting, either by tweak or gui-config checkbox, so it takes on the BG of other columns

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Color change help

Post by admin »

Do you have a screenshot to show how bad it looks? And an idea how I should calculate the line number colors instead of hard-setting them?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: BG-setting for line-number column

Post by bdeshi »

[Hey, Don, moved the discussion here.]
And an idea how I should calculate the line number colors instead of hard-setting them?
may I suggest adding active and inactive line number colors, instead of a catch-all? (like breadcrumb bar section)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: BG-setting for line-number column

Post by Stef123 »

SammaySarkar wrote:may I suggest adding active and inactive line number colors, instead of a catch-all? (like breadcrumb bar section)
:tup: - that's exactly what I meant above by saying
.."add another slot to provide settings for either state (active and inactive)"

@Don,
you can easily see it with any theme that sports distinct color differences between active and inactive. For a dual pane addict like me, it's essential to immediately tell them apart when glancing over to my side-angled monitor.

I think XY would benefit from a more unfied look in that respecct. For me personally, just to be clear, it's not a showstopper, I remember complaining about it right at the start, but then just relegated to not showing this column at all. Just jumped at the occasion when a loosely -related BG-issue came up by another user.

@Sammay
the discussion wasn't moved over here, I just followed your suggestion to put it on the wishlist, so I started this topic myself.

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: BG-setting for line-number column

Post by admin »

Next version takes shot at it.

Stef123

Re: BG-setting for line-number column

Post by Stef123 »

Thanks for the recent tweak. Not sure what I am doing wrong:
F0DCA0 = BG-color I want according to Configuration > Colors > List
echo oxF0DCA0; = what I enter into the AB
15785120 = what the AB spits out
clrLineNumBackInactive=15785120 is my tweaked ini line

The color changes but is completely different from F0DCA0 - the color I want and started out with. :?: :?:

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: BG-setting for line-number column

Post by admin »

Can you show the color you want?

Is is this?
COLOR

Or this?
COLOR

Stef123

Re: BG-setting for line-number column

Post by Stef123 »

The first one. It's the one I read out in config-settings.
The second one is what I get back from echo 0x....

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: BG-setting for line-number column

Post by admin »

Quoting change log:

Code: Select all

      Tip: To convert HTML #RRGGBB colors to color decimals use this formula:
        echo 0xBBGGRR;
You have forgotten to invert the order. Try this:

Code: Select all

echo 0xA0DCF0;

Stef123

Re: BG-setting for line-number column

Post by Stef123 »

Thanks. Got it. :cup:
For the help file you may want to phrase it in more obvious words. ATM, it's all too easy to miss the changed sequence, the reversed order. "Convert" seems to hint at the hex 2 dec conversion, not necessarily at switching the number parts. Well, maybe it's just me who is not used to reading so carefully. In any case - thanks for the tweak - now I have line numbers, too. :D

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: BG-setting for line-number column

Post by admin »

It's just a tweak, it won't be in the help. It will be in the GUI some day. :)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: BG-setting for line-number column

Post by bdeshi »

Stef123 wrote:it's all too easy to miss the changed sequence,
Aha, if you'd kept abreast of SF's and mine RThemeL and co threads you'd know this already! :wink:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: BG-setting for line-number column

Post by Stef123 »

SammaySarkar wrote:
Stef123 wrote:it's all too easy to miss the changed sequence,
Aha, if you'd kept abreast of SF's and mine RThemeL and co threads you'd know this already! :wink:
:oops: - filed a note to myself to follow up on it. Can't say I understand what you're telling me, Sammay. That your theme-builder already contains the brandnew "echo 0x...." converter/parser? That I wouldn't need it in the first place? That changing the RRGGBB order applies elsewhere, too?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: BG-setting for line-number column

Post by bdeshi »

No, I/we faced this ordering perk, and made (complicated) hex2dec and dec2hex color converter... if you enter a hex color there, it converts to the proper decimal color.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

soldier9599
Posts: 10
Joined: 16 May 2014 02:43

Re: BG-setting for line-number column

Post by soldier9599 »

It's great to have this level of customization, but I think (until this feature is added to the GUI) it would be better for the GUI to retain the functionality it had before this. It used to be that if you changed the line number color in the GUI, it would change the color of both line number columns. But now, you can only change the active one in the GUI and the inactive one must be white. It should default to changing both, but if you want the inactive one to be different, then you can dig into the config files and make your changes.

Personally I see no need for them to be different colors, but I can't stand light themes. Before modifying the config file, I was able to get the entire window to be dark grey (either because it is colored by Windows or because there is a GUI option) except for the inactive line number column. Obviously the bright white bar stood out and looked terrible (especially since it kept jumping to the opposite side as I clicked in each pane). Modifying config files is an easy fix, but honestly I liked how the GUI worked before this feature was added.

Post Reply