The syntax highlighting is done via HighlightJS and Discourse with a custom ruleset, and by definition behaves differently from Xojo itself. We’re happy with the way it is now, though of course it may change and improve in the future.
Garry was actually kind enough to post Xojo highlightjs definitions on Github a while back, and we’ve used some of it here. We’ll go ahead and use a bit more - thanks to Garry for both creating and sharing that effort!
there are only one color for both light & dark mode?
how it looks today
string could be black at light mode and white in dark mode. (better as purple)
the blue more contrast brighter & darker for both modes.
integer & double could be in the same color.
var v as variant
v = "hi"
v = &h00
v = &u0A
v = 2
v = 12.4
v = true
v = false
v = &cFFFEFD00
v = nil
call v.Type
' Comment 1
// Comment 2
REM Comment 3
Now I understand what you meant by “allowing edits to be seen by other users would be nice” in another thread…
Until I read your post quoted here, I couldn’t understand what’s wrong. Now, I just know it was different before…