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

Screenshot of the JavaKeywords demo

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

Screenshot of the RichText demo

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 Documentation
Downloads
Dropped Features
Known Issues
Java 8 Development Gotchas

posted on 2014-02-04 15:57  网络大豆  阅读(247)  评论(0编辑  收藏  举报