[No Bug]PB6.03b1 Statusbar Function-Param-Highlight not working

Working on new editor enhancements?
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

[No Bug]PB6.03b1 Statusbar Function-Param-Highlight not working

Post by chi »

I don't know what it's called, but the thingy in the IDE's status bar that highlights the active index of a function's parameter no longer works...
Last edited by chi on Sat Jun 17, 2023 7:01 am, edited 1 time in total.
Et cetera is my worst enemy
Axolotl
Addict
Addict
Posts: 837
Joined: Wed Dec 31, 2008 3:36 pm

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by Axolotl »

I cannot confirm this.
For me, the current parameter (the one where the cursor is currently positioned) is still displayed in bold. Actually as always.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
nsstudios
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by nsstudios »

Does it still refuse to show up if your window is maximized?
I think I find it that it doesn't show itself unless the window is maximized here.
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by chi »

Axolotl wrote: Wed Jun 14, 2023 3:54 pm I cannot confirm this.
For me, the current parameter (the one where the cursor is currently positioned) is still displayed in bold. Actually as always.
Lucky you ;)
nsstudios wrote: Wed Jun 14, 2023 4:25 pm Does it still refuse to show up if your window is maximized?
I think I find it that it doesn't show itself unless the window is maximized here.
The state of the IDE doesn't change anything for me. Still no highlight... Changing back to 6.02 and it works.
Et cetera is my worst enemy
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by Fred »

I changed something here to fix a DPI issue, so probably something I overlooked. It works here as well maximized or not.
BarryG
Addict
Addict
Posts: 4173
Joined: Thu Apr 18, 2019 8:17 am

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by BarryG »

No problems here with 6.03 beta 1 (64-bit). Haven't tried the 32-bit version. Which version do you use, chi?
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by Fred »

It's the commit fixing DPI scale, may be you can find something wrong here: https://github.com/fantaisie-software/p ... aaa5b10def
BarryG
Addict
Addict
Posts: 4173
Joined: Thu Apr 18, 2019 8:17 am

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by BarryG »

.
Last edited by BarryG on Thu Jun 15, 2023 11:48 am, edited 1 time in total.
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by chi »

Fred wrote: Thu Jun 15, 2023 9:12 am It's the commit fixing DPI scale, may be you can find something wrong here: https://github.com/fantaisie-software/p ... aaa5b10def
Thank you, that was indeed the problem. I'm using a custom dark theme and the msgbox font is Segoe UI Semibold; 8; ClearType. There is no visual difference between lfWeight 400 and 700 (but It starts to get bold with 800). I switched the msgbox font to Segoe UI Regular and the "highlight" is working again...
Et cetera is my worst enemy
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by Fred »

It's not clear to me, do I have to fix something or it was on your side ?
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by skywalk »

Whoa! I had the same problem with other apps(notepad++, db browser) when I changed my Windows system fonts from Segoe UI font. Had to change back to system default fonts. That was 2017.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: PB6.03b1 Statusbar Function-Param-Highlight not working

Post by chi »

Fred wrote: Thu Jun 15, 2023 2:46 pm It's not clear to me, do I have to fix something or it was on your side ?
I guess it was on my side, since i dared to switch the system font in my theme :wink:. Anyway, some people might have the same problem...
I spent a few minutes trying to find a solution, but unless you want to test each font weight by size and pixel color and compare it to the others to see if it gets bolder, there's no easy way out. And that might be a bit of an overkill.
Et cetera is my worst enemy
Post Reply