(06-15-2023, 05:41 PM)mnrvovrfc Wrote:Code: (Select All)PRINT "Hello I am Minerva."
PRINT "I come from a code window."
PRINT "But I can't help where my nose is LOL."
PRINT " --"
PRINT " / \"
PRINT " |0 0|"
PRINT " | v |"
PRINT " |(====)|"
PRINT " \______/"
PRINT "=========="
I just did this after upgrading QB64PE from v3.7 to v3.8 on Manjaro Linux KDE, which has "native" installed Firefox v114. While I was whining a few posts ago I was on Spiral KDE which cannot have that late a version of Firefox if not with AppImage. Need to upgrade the base from Debian "Bullseye" to "Bookworm" which is the stable which changed 10-June!
The "Export As" was greyed out in v3.7, that's why I had to do it like that. Otherwise load in the code then choose File -> Export As -> Forum Codebox (to Clipboard). Then the QB64 IDE reports that some text was copied to the clipboard and then it's up to you to go to the forum and paste it into the reply window.
I guess the "qb=export" thing is to pretty-print and to also allow keywords and other things allowed clicked with the mouse to navigate to the QB64 Wiki. Although that could get annoying sometimes.
The "Export As" menu is grayed out as long as the syntaxchecker/formatter is running, you'll have to wait until you either see "OK" in the status line or the process breaks due to an error.
It's done that way because it's a bad idea to try to parse and highlight the export while the code is changing/formatting under the parser's feets.
And yes, it's just considered another (more manually) type of codebox, which allows bbcode to be used.
GuiTools, Blankers & other Projects:
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23