Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The color of comments in your code window
Message
 
 
À
03/10/2012 10:25:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01418690
Message ID:
01554209
Vues:
55
>>>>Just blogged about the COLOR of comments in your code window.
>>>>
>>>>http://therealmattslay.blogspot.com/2009/08/color-of-your-comments.html
>>>>
>>>>What color do you use? (assuming you "need" comments in your code, like I do <g>)
>>>
>>>Two of my favorite tricks here: cyan background on comments, yellow on strings. So I can visually block comments out if I want, and I don't get mismatched quotes.
>>
>>
>>Cyan background??? helps you block out comments? To me, that makes it stick out like a sore thumb. That was the purpose for my faint grey (fore)color.
>>
>>Guess that shows how each of us is so different.
>
>OK... try this for size:
>
*[2012/10/03 12:30] ndragan - from UT #1418747
>
>LOCAL oReg
>
>oReg = NEWOBJECT("FoxReg",HOME(2)+"classes\registry.prg")
>oReg.SetFoxOption("EditorCommentColor","RGB(0,0,0,128,250,250),NoAuto,NoAuto")
>oReg.SetFoxOption("CallstackSelectedColor","RGB(0,0,80,128,250,250),NoAuto,NoAuto")
>* this one doesn't work
>oReg.SetFoxOption("BookmarkColor","RGB(0,80,255,255,0,128),NoAuto,NoAuto")
>oReg.SetFoxOption("EditorConstantColor","RGB(128,0,128,255,255,255), NoAuto, Auto")
>oReg.SetFoxOption("EditorKeywordColor","RGB(0,64,128,255,255,255), NoAuto, Auto")
>oReg.SetFoxOption("EditorNormalColor","RGB(0,0,0,255,128,255), Auto, Auto")
>oReg.SetFoxOption("EditorOperatorColor","RGB(0,128,255,255,255,255), NoAuto, NoAuto")
>oReg.SetFoxOption("EditorStringColor","RGB(0,0,0,255,255,80), Auto, NoAuto")
>oReg.SetFoxOption("EditorVariableColor","RGB(0,0,128,255,248,255), NoAuto, NoAuto")
>
>oReg.SetFoxoption("CallstackFontName", "Consolas, 8, N, 1")
>oReg.SetFoxoption("LocalsFontName", "Consolas, 8, N, 1")
>oReg.SetFoxoption("OutputFontName", "Consolas, 8, N, 1")
>oReg.SetFoxoption("TraceFontName", "Consolas, 8, N, 1")
>oReg.SetFoxoption("WatchFontName", "Consolas, 8, N, 1")
>
>SYS(3056,1)
>
PMFJI (I didn't know these options exist). So my question, can do you set one or some of these options temporarily, without setting them in registry? TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform