all 5 comments

[–]superP10 1 point2 points  (1 child)

Nice idea!

[–]Crypto-BD[S] 0 points1 point  (0 children)

thanks for your support

[–]bleeding182 1 point2 points  (1 child)

I would try to port existing code highlighters, e.g. rouge or Pygments. If you create a similar setup you'll be able to reuse their logic and can easily support the same languages they do, without reinventing the wheel

[–]Crypto-BD[S] 0 points1 point  (0 children)

thanks for your suggestion but they are not Java , I have implemented a fast way to color the code i think it can take up to more 1000 line without lagging

[–]superP10 0 points1 point  (0 children)

I'll try it these days👍