Questions tagged [richtextfx]

Rich text editing component for JavaFX.

RichTextFX provides a text area for JavaFX with API to style ranges of text. It is intended as a base for rich-text editors and code editors with syntax highlighting.

58 questions
0
votes
0 answers

How to fix "No Such Method Error" RichTextFx Java

I am using an external jar richtextfx 06.10 in my project with jdk12, javafx12 I tried to use latest release of richtextfx but didn't work I got this error: Exception in thread "JavaFX Application Thread" java.lang.NoSuchMethodError: …
0
votes
1 answer

Directly highlight one text range in RichTextFX

I'm currently trying to display the contents of a file in RichTextFX and then highlight a specififc character range on a line with a red background do indicate a problem with this lines. My code displays everything neatly, but unfortunately I get no…
DerMolly
  • 464
  • 5
  • 17
0
votes
1 answer

RichTextFX comment and property regex

I am trying to use the RichTextFX library to show a properties file in the CodeArea. I have created some Regex for comments as well as properties to try to style to CodeArea. EDIT: I am able to get them working properly. Except for when I add a…
Blake Ordway
  • 308
  • 1
  • 8
0
votes
1 answer

Implementing RichTextFX GenericStyledArea

I am trying to implement the RichTextFX GenericStyledArea into a program of mine, however, I cannot find an example which clearly shows how the program works in order to implement the feature and as such I have no idea how to implement it. If you…
0
votes
1 answer

RichTextFX get scrollbar in codeArea

I'm using RichTextFX and I was surprised that the CodeArea does not come with a scrollbar enabled by default. How can I get this to appear?
Steve
  • 4,457
  • 12
  • 48
  • 89
0
votes
0 answers

Why does adding JavaFX TableViews to a VBox make other nodes disappear?

EDIT: Forgot the code... I have an app that let's the user select CSV files for viewing. I'm using JavaFX TableViews to display the data. For one page, the user can type into a special text box. It's a custom class I made called…
Ted
  • 45
  • 4
0
votes
1 answer

RichTextFx scrolling event

Is it possible to register scrolling listener for StyleClassedTextArea (and the rest of the RichTextFx family panes) ? Could you give me example how to do that ? Common approach from TextArea doesn't work.
jmt
  • 719
  • 1
  • 9
  • 28
0
votes
1 answer

RichTextFX read-only?

I would like to use RichTextFX (StyledTextArea) to print standard output with error messages et al. I am already using it in it for my custom code editing, and It works well. But how might I make the output "read only"? I would like the user to be…
Terje Dahl
  • 942
  • 10
  • 20
0
votes
1 answer

Change the CodeArea text background on checkbox click

Using RichTextFX I've been able to create a CodeArea which takes a string, and highlights any words that fall into the String[] KEYWORDS array. I have a checkbox control above the CodeArea which I attach a handler() to in my controller code, so…
Mathomatic
  • 899
  • 1
  • 13
  • 38
0
votes
1 answer

How to add Richfx in a layout

I have been trying to add an InlineStyleTextArea and a CodeArea in anylayout both in the main method in javafx and in a fxml file. I receive a thread error. Please if possible with examples how can i add these components to a javafx layout? If…
Mcjohn Key
  • 15
  • 8
0
votes
0 answers

how to use richtextfx with javafx textarea

I don't understand how to use Mikula's richtextfx with the built-in javafx text area control. Can someone take me through this step-by-step? My goal is simply to use richtextfx to get a current line/row in this text area and/or count the lines/rows…
CodingAddict
  • 171
  • 3
  • 6
0
votes
1 answer

Set text of StyleClassedTextArea programmatically

The RichTextFX library has a nice StyleClassedTextArea which fits my use case nicely. However, I can't find a way of programmatically setting the text on it - I can get it fine, and type, but can't find any way of altering it. I presume there's…
Michael Berry
  • 70,193
  • 21
  • 157
  • 216
-1
votes
2 answers

MarcEdit append 001 field

I have a .mrk file containing over 5,000 records, all with duplicate 001 fields. My current thought is to use Notepad++, PowerShell, or VBS, to append the end of any line starting with =001 with its line number, replacing: =001 …
1 2 3
4