Skip to content

A monospaced text editor which supports very large text models (WORK IN PROGRESS).

License

Notifications You must be signed in to change notification settings

andy-goryachev/FxTextEditor

Repository files navigation

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.

About

A monospaced text editor which supports very large text models (WORK IN PROGRESS).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages