PavelTorgashov / FastColoredTextBox

Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
Other
1.21k stars 463 forks source link

BATCH Support #196

Closed antoniskoin closed 4 years ago

antoniskoin commented 4 years ago

Hello, is there any possibility to add Batch syntax highlighting?

Hexman768 commented 4 years ago

I have actually written a batch highlighter for this component, once I get home I'll send you the code and tell you how to use it.

antoniskoin commented 4 years ago

@Hexman768 That is great! I have actually just finished making mine (found out how). But I would really appreciate if you send me your own to check.

Hexman768 commented 4 years ago

I sincerely apologize for the late reply, here is a link to my function that provides batch file syntax highlighting. Please keep in mind it is not perfect. https://github.com/Hexman768/Notepad-Sharp/commit/d2b0d9752a13b26835b88d1e1d462428b6e70813#diff-4f7cbc014d913455c3d462ece2332af7R485