We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RichTextArea with large amount of lines is able to show up on the scene, however the scrolling is very slow.
Here is a SSCCE:
import com.gluonhq.richtextarea.RichTextArea; import com.gluonhq.richtextarea.model.Document; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import javafx.stage.Stage; import java.util.stream.Collectors; import java.util.stream.IntStream; public class TextAreaTest extends Application { @Override public void start(Stage stage) { String hugeString = IntStream.range(0, 1_000_000).mapToObj(String::valueOf).collect(Collectors.joining("\n")); RichTextArea richTextArea = new RichTextArea(); richTextArea.setDocument(new Document(hugeString)); Scene scene = new Scene(new StackPane(richTextArea), 640, 480); stage.setScene(scene); stage.show(); } public static void main(String[] args) { launch(); } }
RichTextFX can run the same sample without any issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
RichTextArea with large amount of lines is able to show up on the scene, however the scrolling is very slow.
Here is a SSCCE:
RichTextFX can run the same sample without any issue.
The text was updated successfully, but these errors were encountered: