03-26-2004, 06:27 AM
I've made a quick modification that qbasic syntax highlights stuff in code tags.
eg:
I've only had time to add a few keywords to be highlighted, and they are only highlighted in the same colours in all styles (they look alright in subOracle, which was what I was testing it in, but I think they may look bad in some of the other styles.
This is VERY MUCH ALPHA STUFF, but I want some feedback on it, in particular if you can defeat the "string" thing, eg get a word to be highlighted when it's in a string etc etc. Post some wierd code here!
And point out any highlighting I've missed in terms of key words or other such things.
I'll be here waiting, so suggest as fast as they come to you
eg:
Code:
QBASIC'$include 'fish.bi'
function helloworld (param1$, param2%)
if ( j% = k& ) then
eat_this param1$
end if
end function
I've only had time to add a few keywords to be highlighted, and they are only highlighted in the same colours in all styles (they look alright in subOracle, which was what I was testing it in, but I think they may look bad in some of the other styles.
This is VERY MUCH ALPHA STUFF, but I want some feedback on it, in particular if you can defeat the "string" thing, eg get a word to be highlighted when it's in a string etc etc. Post some wierd code here!
And point out any highlighting I've missed in terms of key words or other such things.
I'll be here waiting, so suggest as fast as they come to you