My underlining have disapear [Resolved]

Just starting out? Need help? Post your questions and find answers here.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5596
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

My underlining have disapear [Resolved]

Post by Kwai chang caine »

Hello at all

Since a long time, i don't know why, in the PB IDE the underlining of the keyword have disapear suddently :shock:
The hightlighning works if i select a word, all the same words be highligted 8)
But when i select "if" now "Endif" or "Else" are not underlined :|
I probably put my fingers where they shouldn't have again, but I miss that feature terribly. :|

If someone know what the thing i have touched :oops:

Have a good day
Last edited by Kwai chang caine on Mon Jan 05, 2026 6:13 pm, edited 1 time in total.
ImageThe happiness is a road...
Not a destination
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 292
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: My underlining have disapear

Post by le_magn »

Hi, go to preferences-->editor-->editing and enable all options
Image
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5596
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: My underlining have disapear

Post by Kwai chang caine »

Hello le_magn

All is checked :|

Image
ImageThe happiness is a road...
Not a destination
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 292
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: My underlining have disapear

Post by le_magn »

"Activer le marquage des mots clés correspondants"

It's really very strange. The option you need is the one shown above. Try running PureBasic as administrator, deselect all the options, save, close the program, and then repeat the process (again as administrator) to re-enable all the options.
Image
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5596
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: My underlining have disapear

Post by Kwai chang caine »

Thanks to you, now i know where is the option :wink:

So, i have searching and found the line in
Purebasic.pref => EnableKeywordMatch

That works, when i uncheck or check, this line change 8)
EnableKeywordMatch = 0
EnableKeywordMatch = 1

It's surely because i run my PB with command options
Tomorrow i search why PB not read the good pref
ImageThe happiness is a road...
Not a destination
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5596
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: My underlining have disapear

Post by Kwai chang caine »

Finally after numerous research and tests, like promises, today i comparing all *.prefs" files, i have found the problem
At my mind it's surely a personal behavior of my PB, but i'm not sure

If i modify the font in preference panel of natif "Consolas" to "Courier" the underlining disapear :shock:
It's the "EditorFontName" parameter in file pref who is modified
And if i choose at new "Consolas" all is good 8)

Never i can thought it's here the problem :shock:
Perhaps my courier police is corupted ???

Please is someone can do this seting for say to me if it's the same behavior
If yes it's PB the problem..if not it's again a specific KCC problem, never like the others :oops:
ImageThe happiness is a road...
Not a destination
breeze4me
Enthusiast
Enthusiast
Posts: 648
Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor

Re: My underlining have disapear

Post by breeze4me »

The underline feature may not work depending on the specific font or size.
This issue is likely related to this bug.
Changing the font size in the IDE using Ctrl + mouse wheel up/down may resolve the issue.
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 513
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: My underlining have disapear

Post by Mindphazer »

Hi KCC
Same here, if you choose "Courier", the keywords are not underlined
But it works with "Courier New"

By the way, why using such an awful font ?? :mrgreen:
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 26.1 - Iphone 17 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5596
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: My underlining have disapear

Post by Kwai chang caine »

Thanks a lot breeze4me for your explanation 8)
Incredible this bug :shock: never we can thinking there is a relation between a font and a PB option :shock:
Well, that's reassuring; I just wasted another day for nothing. :mrgreen:
This function is really important for not be lost in code,
I managed without it for two years, but this time I decided I'd had enough. :twisted:
Furthermore, I don't know what I've broken now, but even my police courier is in light mode now, impossible to have a normal version in PB :shock:
Sometimes, you'd be better off staying in bed than touching your computer...the problem with KCC is that it's every day :mrgreen: :lol:

@Mindphazer
Thanks a lot to have do this try too 8)
For one time, i'm not alone :mrgreen:
By the way, why using such an awful font
In fact, i don't know :mrgreen:
It's not KCC who manage the computer, but the computer of KCC who often do what it want, and KCC do what he can (in fact, to much often nothing :mrgreen: ) for follow his machine

Image

I remember a day, i believe it's for a problem of UNICODE (Again him :twisted:), i have modified this parameter, and apparently i stay like that, like an idiot,

Image

and not see i have lost my underlining :oops:
But this time, with this project of include, etc ...with numerous line of code, i say to me :

KCC..
You must retrieve the losten GRAAL :D

Image

You see, my good MINDPHAZER...
KCC'life is always simple :mrgreen:

@ALL
Thanks a lot at you three, for helping me
Have a very good end of day
ImageThe happiness is a road...
Not a destination
Post Reply