JavaFX code editor, the content is highlight for Java code
•
Java
I want to write a text editor in JavaFX, which is similar to the eclipse / NetBeans ide to highlight java code
thank you.
Solution
As far as I know, there is no pure JavaFX library for code highlighting / editing, so if you want to implement it in JavaFX, you will have to translate from similar swing (or other) projects, or you own it
However, if you want to achieve this, you can use such a JavaScript library and wrap it in WebView – jewelsea (often swinging here) has done this and explained it rather nicely here
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码