All Projects → andy-goryachev → FxEditor

andy-goryachev / FxEditor

Licence: Apache-2.0 License
JavaFX rich text editor able to handle billions of lines (WORK IN PROGRESS)

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to FxEditor

Bank-Account-Simulation
A Bank Account Simulation with JavaFX and SQLite back-end. Material UX|UI.
Stars: ✭ 19 (-9.52%)
Mutual labels:  javafx, javafx-desktop-apps, javafx-components, javafx-gui
DashboardFx
JavaFx Dashboard
Stars: ✭ 272 (+1195.24%)
Mutual labels:  javafx, javafx-desktop-apps, javafx-components, javafx-gui
CurrencyConverter
Currency Converter App using fixer API at http://api.fixer.io
Stars: ✭ 22 (+4.76%)
Mutual labels:  javafx-desktop-apps, javafx-components, javafx-gui
JFXGoogleDrive
A JavaFX Google Drive Client (For Demonstration Purposes Only).
Stars: ✭ 29 (+38.1%)
Mutual labels:  javafx, javafx-desktop-apps, javafx-gui
gramophy
A JavaFX based Open-Source YouTube Music Downloader/Player
Stars: ✭ 88 (+319.05%)
Mutual labels:  javafx, javafx-desktop-apps, javafx-gui
subtitles-view
基于javaFX的简单字幕处理桌面程序,集成在线翻译及语音转换
Stars: ✭ 368 (+1652.38%)
Mutual labels:  javafx, javafx-desktop-apps, javafx-gui
Jabref
Graphical Java application for managing BibTeX and biblatex (.bib) databases
Stars: ✭ 2,385 (+11257.14%)
Mutual labels:  javafx, javafx-desktop-apps
JFXC
Jonato JavaFX Controls - More Power for your JavaFX Gui
Stars: ✭ 42 (+100%)
Mutual labels:  javafx, javafx-gui
OmniGraph
Desktop application for creating graphs and algorithm visualisation
Stars: ✭ 27 (+28.57%)
Mutual labels:  javafx, javafx-desktop-apps
TornadoFX-DnD-TilesFX
Tornado FX
Stars: ✭ 25 (+19.05%)
Mutual labels:  javafx-desktop-apps, javafx-gui
ChatRoomFX
JavaFX ChatRoom using JAVA RMI
Stars: ✭ 33 (+57.14%)
Mutual labels:  javafx, javafx-desktop-apps
store-pos
It is java accounting software basically developed using javafx which has various modules like purchase, sales, receipts, payments, and journals.
Stars: ✭ 84 (+300%)
Mutual labels:  javafx, javafx-desktop-apps
sqlbrowserfx
A feature rich cross platform sql client for SQLite , MySQL.
Stars: ✭ 19 (-9.52%)
Mutual labels:  javafx, javafx-desktop-apps
JavaFX-3D
JavaFX 3D Development Tutorial
Stars: ✭ 29 (+38.1%)
Mutual labels:  javafx, javafx-gui
hacklympics
🏆 Full-stack online programming examination system
Stars: ✭ 44 (+109.52%)
Mutual labels:  javafx, javafx-desktop-apps
GNCarousel
Carousel based on web design
Stars: ✭ 19 (-9.52%)
Mutual labels:  javafx, javafx-gui
WebcamFX
Open the camera, take pictures 📷 & save them using Javafx.
Stars: ✭ 39 (+85.71%)
Mutual labels:  javafx, javafx-desktop-apps
OnlyViewer
A material design picture viewer made with JavaFX and JFoenix. / 用JavaFX编写的Material Design风格的电子图片管理系统
Stars: ✭ 23 (+9.52%)
Mutual labels:  javafx, javafx-desktop-apps
jdeploy
Developer friendly desktop deployment tool
Stars: ✭ 282 (+1242.86%)
Mutual labels:  javafx, javafx-desktop-apps
javafx-examples
JavaFX Example Projects
Stars: ✭ 85 (+304.76%)
Mutual labels:  javafx, javafx-gui

FxEditor

screenshot

Why

Nearly all Java text editors, Swing and FX 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 that is capable of handling billions of lines, provides syntax highlighting, multiple carets and multiple selection, rich text capabilities, embedded images and embedded components.

The main idea which allows for all these features is separation of the editor and underlying data model. The data model then can be made as simple as a contiguous in-memory byte array, or as complex as memory-mapped file with a concurrent change log that enables editing of a very large files.

Features

  • supports up to 2^31 lines of text
  • multiple selection and carets
  • supports syntax highlight

Try It Out

The project is at a very early stage: less than 29% of all identified features is currently implemented.

To see how little is implemented, launch FxEditorDemoApp.java

Example

public class MainWindow extends FxWindow
{
	public MainWindow()
	{
		super("TestFxEditorWindow");
		setTitle("FxEditor Demo");
		setSize(600, 700);
		
		// data model
		FxEditorModel m = new TestFxColorEditorModel();
		// editor component is a Pane
		FxEditor ed = new FxEditor(m);
		ed.setMultipleSelectionEnabled(true);
		// add to layout		
		setCenter(ed);
	}
}

See MainWindow.java

Warning

This project is not ready for production. Mutable (editable) text models are not yet implemented.

The editor relies on JavaFX PrismTextLayout to properly render proportional unicode text, which results in performance issues when trying to render very long lines (millions of symbols), making it unsuitable for projects that have to deal with such files, like programming editors or log viewers. A fixed-width replacement FxTextEditor is currently being worked on.

Similar Projects

Tomas Mikula's RichTextFX.

See Also

Text editors based on JavaFX TextLayout exhibit inadequate performance when dealing with models that have millions of characters on a single line, for example when viewing logs. A monospaced component such as FxTextEditor might be a better choice.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].