07-24-2023, 12:39 PM
@RhoSigma So anything not blue in the above post, is what needs to be added, correct?
qb bbcode now available!
|
07-24-2023, 12:39 PM
@RhoSigma So anything not blue in the above post, is what needs to be added, correct?
07-24-2023, 12:45 PM
(07-24-2023, 12:39 PM)grymmjack Wrote: @RhoSigma So anything not blue in the above post, is what needs to be added, correct? Exactly that's it. Don't oversee the 2 missing _gl commands.
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32 Libraries & useful Functions: https://staging.qb64phoenix.com/forumdisplay.php?fid=23
07-25-2023, 01:48 PM
OK @RhoSigma I have updated the keywords for the custom syntax highlighter. Can you please refresh, and check it?
Thanks.
07-25-2023, 02:45 PM
(07-25-2023, 01:48 PM)grymmjack Wrote: OK @RhoSigma I have updated the keywords for the custom syntax highlighter. Can you please refresh, and check it? @grymmjack Indeed, the keyword recognition is more complete now. It seems only the 2-letter words are not highlighted and those containing a $ sign either in the beginning (Meta keywords) or in the end (LEFT$, MID$, SPACE$, STR$ etc.), but guees that's an implementation issue of the used highlighter. Probably the current implementation takes the $ sign as separator char rather than as a valid keyword char. The 2-letter issue could be some speed optimization to simlpy skip every token shorter than 3 letters.
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32 Libraries & useful Functions: https://staging.qb64phoenix.com/forumdisplay.php?fid=23
07-25-2023, 03:23 PM
OK this is probably due to it using regex. I will try to escape the $.
I'll check the 2 letter options for highlighter.js
07-25-2023, 03:48 PM
test:
Code: (Select All)
07-25-2023, 03:56 PM
Ok, looks good now except for the 2 letter words.
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32 Libraries & useful Functions: https://staging.qb64phoenix.com/forumdisplay.php?fid=23
07-25-2023, 03:56 PM
07-25-2023, 04:14 PM
test:
Code: (Select All)
|
« Next Oldest | Next Newest »
|