JEdi​​torPane 中的语法高亮显示

发布于 2024-09-17 09:02:11 字数 118 浏览 3 评论 0原文

我想在 jeditorpane 中进行标签突出显示。如果我在 jeditorpane 中加载 html 文件,那么它应该自动突出显示具有红色前景色的所有标签... 对于前。 &l tHTML &gt

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.

&l tHTML >

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

开始看清了 2024-09-24 09:02:11

我使用优秀的 RSyntaxTextArea 组件取得了很大的成功。它也可以在 LGPL 许可证下使用。

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

所谓喜欢 2024-09-24 09:02:11

您可以采用

You can either go

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文