Code Monkey home page Code Monkey logo

fxtexteditor's Introduction

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 highlight
  • basic text attributes: bold, italic, underline, strikethrough
  • variable tab width

Warning

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

Requirements

Requires JavaFX 17+.

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.

fxtexteditor's People

Contributors

andy-goryachev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fxtexteditor's Issues

erratic vertical scrolling

open a file with one long text line.

vertical scrollbar size is incorrect and jumps erratically when dragging the vertical scroll bar.

2020-1231-210154-1BDA

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.