Help with the IDE

I mess around making the IDE “nicer” to use, changing the preferences of the editor colors.

It seems I managed to screw up a bit (as ususal LOL) and now I can’t see what I type for parameters and Return Type for event definitions.

Captura de Pantalla 2020-04-29 a la(s) 14.06.16

If I select the text I can see it’s there and of course I know it’s there since it works. What do I need to change to make the values visible again?

@npalardy I’m looking at you :slight_smile:

not my fault :slight_smile:

what version are you using ?
and what mode did you start the ide in (light or dark) ?
there is, or was, a bug in the IDE that left certain editors in their startup color (white or black) and there was no decent way to fix it without quitting & restarting in the other color more

this is one of the problems with Color
there’s no way to have a value that isnt a valid color
So the whole issue related to “if you left the color as &c00000000” then Xojo would assume you meant “textcolor” but if you really wanted black … well …
and setting certain values in the inspector & yeah …
Colors needed to have a int32 value and one extra one that was “null” or “default” or something else

I’m using 2019R3.1 on a MAC with Dark Mode.

Thanks for your responce, it points me in the direction I need to look.

The thing I find intriguing is that if I open something else and return to the event definition the parameters and return value are displayed perfectly OK, but as soon as I select something they dissapear.

And I didn’t meant to imply it is your fault, it was working OK until I messed up with the color scheme.

Did this get fixed restarting the IDE? I’ve had this happen several times even without messing with the syntax colours…

No :frowning:

I believe it is something I did, it is the first time it has happened to me. I can see the values in a darker color than the input box background, relly hard to read but they are there.

Why not just restore the colours to default, then try again?

Good idea. Thanks

Yeah that stuff isnt affected by the color scheme though

EEEkkkkkk !!! the default colors in R3 are just … well … horrendous

I actually tried really hard to clone the look of Xcode in dark mode which doesnt use standard system colors :slight_smile:
But … as soon as I left they put those hugely vibrant ones
So I exported the default theme from 2019r1.1 and just drop it in 2019r3.1 :stuck_out_tongue:

I thought you were the artist behind the R3’s color scheme LOL

As I mentioned in another trhead I tired to mimic the VSCode Pale Night theme which I really like and helps me a lot to not feel my eyes tired at night. Default R3 theme and recently switching to transition eye glasses was making me really dizzy.

I’ll stop messing with this since restoring defaults and reloading the theme didn’t work either.

I left before r1.1 shipped :slight_smile:

I think I posted my default them for download
Its just an XML file
Save the following in a text file with an extension of “xojo_theme” then drag it into the navigator and it will be adopted

<?xml version="1.0" encoding="UTF-8"?>
<Theme>
<Coding>
<pref name="Code Editor Keywords Color" color="B3416000" />
<pref name="Code Editor Strings Color" color="D76C3200" />
<pref name="Code Editor Numbers Color" color="786DFF00" />
<pref name="Code Editor Floating Point Numbers Color" color="786DFF00" />
<pref name="Code Editor Source Code Color" color="A5A4A400" />
<pref name="Code Editor Comments Color" color="30983000" />
<pref name="Code Editor Autocomplete Color" color="807F7F00" />
<pref name="Code Editor Background" color="17161600" />
<pref name="Code Editor Cursor Color" color="A5A4A400" />
<pref name="Matched Indent Brace Color" color="Default" />
<pref name="Unmatched Indent Brace Color" color="Default" />
<pref name="Debugger Highlight Color" color="36363600" />
<pref name="Code Editor URL Color" color="5D8DC500" />
<pref name="Code Editor Source Matching Color" color="Default" />
<pref name="Code Font" font="Menlo" />
<pref name="Code Font Size" size="14" />
<pref name="Code Editor Text Highlight Color" color="495E7F00" />
<pref name="Code Editor Inactive Text Highlight Color" color="Default" />
</Coding>
</Theme>
1 Like

Yes you did in another thread. Thanks.

This is the one I’m using:

<?xml version="1.0" encoding="UTF-8"?>
<Theme>
<Coding>
<pref name="Code Editor Keywords Color" color="CC66FE00" />
<pref name="Code Editor Strings Color" color="BAEC7500" />
<pref name="Code Editor Numbers Color" color="E6AB3A00" />
<pref name="Code Editor Floating Point Numbers Color" color="99CC3300" />
<pref name="Code Editor Source Code Color" color="86AEFD00" />
<pref name="Code Editor Comments Color" color="5E708300" />
<pref name="Code Editor Autocomplete Color" color="788F9800" />
<pref name="Code Editor Background" color="2B2F3D00" />
<pref name="Code Editor Cursor Color" color="B2B8C300" />
<pref name="Matched Indent Brace Color" color="E3A71100" />
<pref name="Unmatched Indent Brace Color" color="AD000E00" />
<pref name="Debugger Highlight Color" color="85A6A400" />
<pref name="Code Editor URL Color" color="C5725D00" />
<pref name="Code Editor Source Matching Color" color="FA12A800" />
<pref name="Code Font" font="Menlo" />
<pref name="Code Font Size" size="14" />
<pref name="Code Editor Text Highlight Color" color="Default" />
<pref name="Code Editor Inactive Text Highlight Color" color="Default" />
</Coding>
</Theme>