PB 5.60 IDE colour phenomenon
Posted: Thu Sep 07, 2017 5:48 pm
Hi,
I'm a slow adopter of new versions of PB, but now I decided to update my 5.31 to 5.60 (Windows 7 Pro x64 - running x86 versions of PB).
When loading a source code I got weird colours on the text and after a while of experimenting I concluded that it's two commented lines that causes the phenomenon. I have tried it on two computers here and it's the same.
Since I didn't have this problem with 5.31, I wonder if it's
* a bug in the 5.60 editor
or
* a misconfiguration of my regular expression for TODO in my prefs. (but why didn't I have problems with 5.31? Unicode?)
Screendump of my corrupt colours:
https://www.dropbox.com/s/eqkkxybgw2ei7 ... t.png?dl=0
Screedump of the correct colours:
https://www.dropbox.com/s/q0jnqpdtm3otq ... t.png?dl=0
Screendump of my prefs for 'issues':
https://www.dropbox.com/s/zz1itksm5m4zx ... s.png?dl=0
Some code to play with:
If you remove the swedish characters {å,ä,ö}, it will work as it should. If you put back some random åäö, it will still work (at least it did for me). It's something magic with these two commented lines and I haven't managed to narrow it down more than that.
It seems the code after the commented lines doesn't matter. In the original source the code looks totally different. In the screen dumps I have a few lines and in the above test code, only one line is needed to show the corruption.
Any ideas?
I'm a slow adopter of new versions of PB, but now I decided to update my 5.31 to 5.60 (Windows 7 Pro x64 - running x86 versions of PB).
When loading a source code I got weird colours on the text and after a while of experimenting I concluded that it's two commented lines that causes the phenomenon. I have tried it on two computers here and it's the same.
Since I didn't have this problem with 5.31, I wonder if it's
* a bug in the 5.60 editor
or
* a misconfiguration of my regular expression for TODO in my prefs. (but why didn't I have problems with 5.31? Unicode?)
Screendump of my corrupt colours:
https://www.dropbox.com/s/eqkkxybgw2ei7 ... t.png?dl=0
Screedump of the correct colours:
https://www.dropbox.com/s/q0jnqpdtm3otq ... t.png?dl=0
Screendump of my prefs for 'issues':
https://www.dropbox.com/s/zz1itksm5m4zx ... s.png?dl=0
Some code to play with:
Code: Select all
;TODO ingår i och består av för gerber (tänk på särfall som fen3sto och fen3-2plysto som bara har olika antal fens15
;TODO Om en gbr hittas som inte har någon tillhörande cmx - ge möjlighet att skapa en (bakvänd läggbild generering)
Debug GetRuntimeInteger("#PB_Editor_BuildCount")
It seems the code after the commented lines doesn't matter. In the original source the code looks totally different. In the screen dumps I have a few lines and in the above test code, only one line is needed to show the corruption.
Any ideas?