QB64 Phoenix Edition
BUG in the editor of qb64 - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2)
+--- Thread: BUG in the editor of qb64 (/showthread.php?tid=345)



BUG in the editor of qb64 - Coolman - 05-05-2022

the qb64 editor creates a temp directory in internal at each startup even if no code entry is made. to check, start qb64 and quit. there will be a new temp directory created each time.

if I select other colors in the editor (Options/IDE color). the next time I start up. the colors come back by default...
another strangeness, there is an addition of data in the config.ini file located in internal. It seems to be a bug :

[IDE WINDOW 1]
IDE_Width=80
IDE_Height=25

[IDE COLOR SETTINGS 1]
SchemeID=3
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 108, 177)

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25

[IDE COLOR SETTINGS 2]
SchemeID=1
TextColor=_RGB32(216, 216, 216)
KeywordColor=_RGB32(69, 118, 147)
NumbersColor=_RGB32(216, 98, 78)
QuoteColor=_RGB32(255, 167, 0)
CommentColor=_RGB32(98, 98, 98)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 206, 85)
HighlightColor=_RGB32(0, 88, 108)
BackgroundColor=_RGB32(0, 0, 39)
BackgroundColor2=_RGB32(0, 49, 78)

[IDE WINDOW 3]
IDE_Width=80
IDE_Height=25

[IDE COLOR SETTINGS 3]
SchemeID=1
TextColor=_RGB32(216, 216, 216)
KeywordColor=_RGB32(69, 118, 147)
NumbersColor=_RGB32(216, 98, 78)
QuoteColor=_RGB32(255, 167, 0)
CommentColor=_RGB32(98, 98, 98)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 206, 85)
HighlightColor=_RGB32(0, 88, 108)
BackgroundColor=_RGB32(0, 0, 39)
BackgroundColor2=_RGB32(0, 49, 78)


RE: BUG in the editor of qb64 - Pete - 05-05-2022

There was a change made in v2.0 that requires users to customize every new IDE instance. It was done so users can have several different themes in play. I hate it. Did I mention I hate it? In case I didn't, I hate, too.

What I do is make my own config.ini file, with 12 or more identical themes.

Here it is, just the color scheme and windows IDE configuration parts...

Code: (Select All)
[IDE COLOR SCHEMES]
Instructions1="Create custom color schemes in the IDE (Options->IDE Colors)."
Instructions2="Custom color schemes will be stored in this section."
Scheme1$=Pete|226226226147196235245128177255255085085255085085255255000000170000000170000147177170170170

[IDE WINDOW 1]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=27
IDE_LeftPosition=69

[IDE COLOR SETTINGS 1]
SchemeID=0
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=21
IDE_LeftPosition=72

[IDE COLOR SETTINGS 2]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 3]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=56
IDE_LeftPosition=76

[IDE COLOR SETTINGS 3]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 4]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=14
IDE_LeftPosition=95

[IDE COLOR SETTINGS 4]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 5]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 5]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 6]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 6]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 7]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 7]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 8]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 8]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 9]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 9]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 10]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 10]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 11]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 11]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 12]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 12]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

So I recommend you make your IDE color and display choices, save them, go to the QB64 folder "internal" open the config.ini file in notepad, and make several duplication of the [IDE WINDOW #] tag, labeling each one sequentially.

As far as your other observation on the creation of the temp directory, I have no comment. It has not been an issue for me.

Hope this helps,

Pete


RE: BUG in the editor of qb64 - bplus - 05-05-2022

I luv having a 2nd color showing for 2nd instance of a QB64 program running. I can tell the difference and not have to reply on,

what was I talking about again!


RE: BUG in the editor of qb64 - Pete - 05-05-2022

Oohhh I hates rabbits!


RE: BUG in the editor of qb64 - Coolman - 05-05-2022

(05-05-2022, 04:43 PM)Pete Wrote: There was a change made in v2.0 that requires users to customize every new IDE instance. It was done so users can have several different themes in play. I hate it. Did I mention I hate it? In case I didn't, I hate, too.

What I do is make my own config.ini file, with 12 or more identical themes.

Here it is, just the color scheme and windows IDE configuration parts...

Code: (Select All)
[IDE COLOR SCHEMES]
Instructions1="Create custom color schemes in the IDE (Options->IDE Colors)."
Instructions2="Custom color schemes will be stored in this section."
Scheme1$=Pete|226226226147196235245128177255255085085255085085255255000000170000000170000147177170170170

[IDE WINDOW 1]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=27
IDE_LeftPosition=69

[IDE COLOR SETTINGS 1]
SchemeID=0
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 2]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=21
IDE_LeftPosition=72

[IDE COLOR SETTINGS 2]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 3]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=56
IDE_LeftPosition=76

[IDE COLOR SETTINGS 3]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 4]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=14
IDE_LeftPosition=95

[IDE COLOR SETTINGS 4]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 5]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 5]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 6]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 6]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 7]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 7]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 8]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 8]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 9]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 9]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 10]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 10]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 11]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 11]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

[IDE WINDOW 12]
IDE_Width=80
IDE_Height=25
IDE_TopPosition=26
IDE_LeftPosition=124

[IDE COLOR SETTINGS 12]
SchemeID=11
TextColor=_RGB32(226, 226, 226)
KeywordColor=_RGB32(147, 196, 235)
NumbersColor=_RGB32(245, 128, 177)
QuoteColor=_RGB32(255, 255, 85)
CommentColor=_RGB32(85, 255, 255)
ChromaColor=_RGB32(170, 170, 170)
MetaCommandColor=_RGB32(85, 255, 85)
HighlightColor=_RGB32(0, 147, 177)
BackgroundColor=_RGB32(0, 0, 170)
BackgroundColor2=_RGB32(0, 0, 170)

So I recommend you make your IDE color and display choices, save them, go to the QB64 folder "internal" open the config.ini file in notepad, and make several duplication of the [IDE WINDOW #] tag, labeling each one sequentially.

As far as your other observation on the creation of the temp directory, I have no comment. It has not been an issue for me.

Hope this helps,

Pete

thank you very much. these are the colors i wanted.

for the temp directories. i would have to clean them manually. i have examined the batch file clean.bat for windows. it seems that you have to delete all the temp directories, recreate temp and copy the source\temp.bin file. if i have time, i will make a batch script.