Page 1 of 2
BG-setting for line-number column
Posted: 10 Aug 2015 18:56
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
Re: Color change help
Posted: 12 Aug 2015 08:37
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?
Re: BG-setting for line-number column
Posted: 12 Aug 2015 08:48
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)
Re: BG-setting for line-number column
Posted: 12 Aug 2015 10:59
by Stef123
SammaySarkar wrote:may I suggest adding active and inactive line number colors, instead of a catch-all? (like breadcrumb bar section)

- 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.
Re: BG-setting for line-number column
Posted: 26 Aug 2015 19:03
by admin
Next version takes shot at it.
Re: BG-setting for line-number column
Posted: 27 Aug 2015 19:24
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.

Re: BG-setting for line-number column
Posted: 27 Aug 2015 19:59
by admin
Can you show the color you want?
Is is this?
COLOR
Or this?
COLOR
Re: BG-setting for line-number column
Posted: 27 Aug 2015 20:09
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....
Re: BG-setting for line-number column
Posted: 27 Aug 2015 20:41
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:
Re: BG-setting for line-number column
Posted: 28 Aug 2015 08:20
by Stef123
Thanks. Got it.
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.

Re: BG-setting for line-number column
Posted: 28 Aug 2015 08:48
by admin
It's just a tweak, it won't be in the help. It will be in the GUI some day.

Re: BG-setting for line-number column
Posted: 28 Aug 2015 09:52
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!

Re: BG-setting for line-number column
Posted: 28 Aug 2015 11:15
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!


- 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?
Re: BG-setting for line-number column
Posted: 28 Aug 2015 11:52
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.
Re: BG-setting for line-number column
Posted: 07 Oct 2015 06:22
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.