java fx 文本输入,richtextfx: RichTextFX 提供 JavaFX API 的文本框,作为文本范围的样式...

RichTextFX为JavaFX提供了一个内存高效的文本区域,允许开发者为文本范围设置样式,显示自定义对象,并在必要时仅覆盖默认行为。它适用于富文本编辑器和带有语法高亮的代码编辑器。特性包括:任意文本样式分配,显示行号,支持在行内显示其他节点,定位与光标或选择相关的弹出窗口等。
摘要由CSDN通过智能技术生成

RichTextFX

RichTextFX provides a memory-efficient text area for JavaFX that allows the developer to style ranges of text, display custom objects in-line (no more HTMLEditor), and override the default behavior only where necessary without overriding any other part of the behavior.

It does not follow the MVC paradigm as this prevented access to view-specific API (e.g., getting the bounds of the caret/selection/characters, scrolling by some amount, etc.).

It is intended as a base for rich-text editors and code editors with syntax highlighting. Since it is a base, a number of suggested features (specific syntax highlighters, search-and-replace, specific support for hyperlinks, etc.) will not be implemented directly in this project. Rather, developers can implement these on top of RichTextFX and submit their work as a PR to the richtextfx-demos package.

For a greater explanation of RichTextFX, its design principles, how it works, and how to style its areas via CSS, please see the wiki

Demos

Stand-alone Applications that demonstrate some of the features of RichTextFX have been moved to their own folder here

Table of Contents

Who uses RichTextFX?

If you use RichTextFX in an interesting project, I would like to know!

Features

Assign arbitrary styles to arbitrary ranges of text. A style can be an object, a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值