Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBasic syntax highlighted code
#51
I just found a bug.. I think.. with the code script:


Code:
qbasicprint "this works fine, and I'm using qbasic at the start

Code:
print "I'm not using qbasic here.... and it killed my print....?"
Reply
#52
I just found a bug.. I think.. with the code script:


Code:
qbasicprint "this works fine, and I'm using qbasic at the start

Code:
print "I'm not using qbasic here.... and it killed my print....?"



Same as above, with BBCode disabled
Reply
#53
Code:
print "hello world"

works fine for me?
Reply
#54
no. it blows up when you have two or more code tag thingys
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#55
Code:
qbasicprint "hello"

Code:
qbasicprint "hello"

Code:
print "hello"

I see the problem. I'm not in a position to fix it at the moment, but I will asap.
Reply
#56
Code:
qbasicPrint "dummy...."

Code:
'this code is without the qbasic things

PRINT "aha..... hmm..."

'And it freakin removed my first ' sign
Reply
#57
I like your idea of the images =).
Reply
#58
[syntax="qbasic"]' Qbasic code
print "hello, world"
if a$ = b$
print "hi!"
foo# = varseg(blah)
end if
end
' dflskjasdlkjas[/syntax]

We have a new format for the syntax code Smile

Now you do this:

[syntax="language"]
' code...
[/syntax]

Where language is qbasic, php...

At the moment, keywords for qbasic are loaded in, but nothing for php (though php's string delimiters, escape char and multiline comments work if you want to try).

I'm installing it for all styles now, and as I add keywords (and languages) (and highlighting for numbers again) I'll post here.

I'll also re-add the highlighting of [code]qbasic so the forum doesn't look trashed.

Enjoy!
Reply
#59
Great =). I hope you will be adding support for many more languages =)
Reply
#60
[syntax="php"]/*multiline comment
comment
blah
blah
*/
so it does work!
[/syntax]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)