Issues background color fails

Post bugs related to the IDE here
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Issues background color fails

Post by PB »

Per the subject... I've got this line of code halfway in my source:

Code: Select all

  ; TODO: Add more processes.
But it shows up as a normal comment color, instead of the issue color.
If I put the same line at the first page of my source, it gets highlighted
with the correct issues background color.

So it seems like the parser isn't picking up the "TODO" when it's not
shown in the first "page" of the IDE source being shown, if you know
what I mean?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
STARGÅTE
Addict
Addict
Posts: 2259
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: Issues background color fails

Post by STARGÅTE »

can you post the regex-code for this issue?
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Issues background color fails

Post by PB »

It's just the default:

Code: Select all

\bTODO\b.*
Here's a screenshot of the setting and a TODO at the start of my app, where it's shown in the first page in the IDE:

Image

And here's a screenshot of another TODO in the same source but way further down in the IDE:

Image

As you can see, the second TODO is not with a blue background like the first TODO.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Issues background color fails

Post by c4s »

Might be related to this bug report: 5.30b4(x64, x86) Issue marking not activating
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Post Reply