Skip to content

Change behavior of PageUp and PageDown keys #688

@JFormDesigner

Description

@JFormDesigner

The behavior of the PageUp and PageDown keys in RichTextFX is IMO very unusual compared to other editors (Eclipse, IntelliJ IDEA, etc).

Let's say the text is 1000 lines long and there are 50 lines visible.

Pressing PageDown key in RichTextFX moves the caret down 50 lines and then scrolls the caret into the visible area. In case the caret was at the top, RichTextFx scrolls only one line down. The caret is then at the bottom of the visible area.

In other editors, the text always scrolls 50 lines down and the caret is also moved 50 lines down.

Would it be possible to change this in RichTextFX?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions