Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.51 KB

README.md

File metadata and controls

45 lines (24 loc) · 1.51 KB

FxTextEditor

screenshot

Why

Nearly all Java text editors, Swing and JavaFX alike, suffer from one deficiency: inability to work with large data models such as logs or query results.

The goal of this project is to provide a professional FX text component capable of handling billions of lines of styled unicode text, possibly with very long lines, by using monospaced font and rendering model - unlike its sibling, FxEditor.

This component is being developed for the AccessPanel project.

How

Please refer to a simple demo application: FxTextEditorDemoApp.java.

Main Features

  • supports up to 2^31 lines of text
  • efficiently handles very long lines
  • supports syntax highlighting
  • basic text attributes: bold, italic, underline, strike-through
  • variable tab width
  • left-to-right orientation only, and no bidi text

Warning

This project is currently in the early development stage. Do not even think of using it in production.

Requirements

Requires JavaFX 23+.

License

This project and its source code is licensed under the Apache License 2.0 and you should feel free to make adaptations of this work. Please see the included LICENSE file for further details.