CodeAreaFX

mac2022-06-30  18

CodeAreaFX is a text area for JavaFX with API to style ranges of text. It is intended as a base for rich-text editors and code editors with syntax highlighting.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

https://github.com/TomasMikula/CodeAreaFX

Demos

1. Automatic highlighting of Java keywords

Run using the pre-built JAR

Download the pre-built "fat" JAR file and run

java -cp codearea-demos-fat-yyyymmdd.jar codearea.demo.JavaKeywords

Run from the source repo

gradle JavaKeywords

Source code

JavaKeywords.java

2. Rich-text editor

Run using the pre-built JAR

Download the pre-built "fat" JAR file and run

java -cp codearea-demos-fat-yyyymmdd.jar codearea.demo.RichText

Run from the source repo

gradle RichText

Source code

RichText.java

Source code of this demo is dedicated to the public domain.

License

GPLv2 with the Classpath Exception

Links

API DocumentationDownloadsDropped FeaturesKnown IssuesJava 8 Development Gotchas

转载于:https://www.cnblogs.com/cuizhf/p/3537888.html

相关资源:微信小程序源码-合集4.rar
最新回复(0)