That's right, but you can see that (for scintilla) from 'Procedure' to 'EndProcedure' it's a block, so when the TODO is part of the block, he's not highlightedDemivec wrote:@flaith: According to what you said, when I use this sample it highlights only the last TODO:flaith wrote:If the TODO is outside a procedure, it workCode: Select all
Procedure.i c ;TODO no highlighting ;TODO no highlighting EndProcedure ;TODO no highlighting ;TODO no highlighting
5.30b4(x64, x86) Issue marking not activating
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: 5.30b4(x64, x86) Issue marking not activating
“Fear is a reaction. Courage is a decision.” - WC
Re: 5.30b4(x64, x86) Issue marking not activating
It does highlight inside other blocks such as DeclareModule/EndDeclareModule or If/Endif.flaith wrote:That's right, but you can see that (for scintilla) from 'Procedure' to 'EndProcedure' it's a block, so when the TODO is part of the block, he's not highlighted
It also will highlight inside the Procedure block if the text following Procedure is changed or altered somewhat. See my previous posts for some examples.
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: 5.30b4(x64, x86) Issue marking not activating
Agreed, so only in the Procedure block (Procedure, ProcedureDLL, ProcedureC, ProcedureCDLL), no activation :
Code: Select all
Declare.i test(a.s) ;TODO highlighted
;TODO highlighted
DeclareModule
Declare.i test(a.s) ;TODO highlighted
;TODO highlighted
EndDeclareModule ;TODO highlighted
Module test
Procedure test() ;TODO no highlighting
EndProcedure ;TODO no highlighting
EndModule
Procedure test2() ;TODO no highlighting
If a=1
;TODO no highlighting
EndIf
EndProcedure ;TODO no highlighting
;TODO highlighted
Procedure deteste() ;TODO no highlighting
EndProcedure ;TODO no highlighting
ProcedureCDLL test2() ;TODO no highlighting
If a=1
;TODO no highlighting
EndIf
EndProcedure ;TODO no highlighting
;TODO highlighted
Import "" ;TODO highlighted
;TODO highlighted
EndImport ;TODO highlighted
If a=1
;;TODO highlighted
EndIf
DataSection ;TODO highlighted
test:
Data.s "highlighted" ;TODO highlighted
EndDataSection ;TODO highlighted
“Fear is a reaction. Courage is a decision.” - WC
Re: 5.30b4(x64, x86) Issue marking not activating
I believe that the problem (no hiliting) relates to the Procedure Background color option.
If you deselect that option in your preferences, then Issues get hilited as expected.
Verified with PB x86, for source files coded either in ASCII or UTF-8.
If you deselect that option in your preferences, then Issues get hilited as expected.
Verified with PB x86, for source files coded either in ASCII or UTF-8.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
"Oh! I see..." replied the blind man.
Re: 5.30b4(x64, x86) Issue marking not activating
Thanks Demivec for posting this behavior and thanks to Blue for the fix
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: 5.30b4(x64, x86) Issue marking not activating
@skywalk: Thanks for posting about this.
I had missed Blue's posting with the fix. Now I can use the issues again.
I found that it also happens for the 'Currentline Color'. I was wondering why the issues were not hightlighted when I moved to the line containing them, and well duh, you know the rest.
I hadn't notice either of the two color settings causing the problem because I had set both of them to the same as the 'Background' color the editor uses. This also meant I could simply turn them off for an easy fix.
This solves the issue (pun intended) for me. If a fix is possible that allows more than one background color to be used in a line than that would be a better fix but I am guessing that it probably isn't possible.
I had missed Blue's posting with the fix. Now I can use the issues again.
I found that it also happens for the 'Currentline Color'. I was wondering why the issues were not hightlighted when I moved to the line containing them, and well duh, you know the rest.
I hadn't notice either of the two color settings causing the problem because I had set both of them to the same as the 'Background' color the editor uses. This also meant I could simply turn them off for an easy fix.
This solves the issue (pun intended) for me. If a fix is possible that allows more than one background color to be used in a line than that would be a better fix but I am guessing that it probably isn't possible.
-
- Enthusiast
- Posts: 224
- Joined: Sat Jul 07, 2018 6:50 pm
Re: 5.30b4(x64, x86) Issue marking not activating
PB 5.61
With Procedure Background option enabled:
With Procedure Background option disabled:
Note that everything works fine in both cases except the first item (only one with "highlight issue text only" settings).
With Procedure Background option enabled:
With Procedure Background option disabled:
Note that everything works fine in both cases except the first item (only one with "highlight issue text only" settings).