开发者

syntax highlighting in JEditorPane

开发者 https://www.devze.com 2023-01-14 13:46 出处:网络
i want to do tag hightlighting in jeditorpane. if i load a html file in jeditorpane then it should automatically highlight all tags with red foreground color...

i want to do tag hightlighting in jeditorpane. if i load a html file in jeditorpane then it should automatically highlight all tags with red foreground color... for ex. &开发者_开发百科amp;l tHTML &gt


I've had a lot of success using the excellent RSyntaxTextArea component. It's available under the LGPL license too.


You can either go

  • The JEdit way
  • Check some google code project
  • Or go see what Kiril thinks about it.
0

精彩评论

暂无评论...
验证码 换一张
取 消