From 320905102e16dae1368ae9d959c9a450fabddc20 Mon Sep 17 00:00:00 2001 From: CyberGhost13337 <150177219+CyberGhost13337@users.noreply.github.com> Date: Thu, 3 Jul 2025 20:02:48 +0000 Subject: [PATCH] These usages break text direction, switching to right-to-left (RTL) instead of the expected left-to-right (LTR). area.setCaretPosition(0); does the same and is already in place. --- .../the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java b/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java index 4d70a8c9d..414973329 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java @@ -91,8 +91,6 @@ public void buildGUI() area.setOnCtrlS(this::save); area.setText(content); area.setCaretPosition(0); - DefaultCaret caret = (DefaultCaret)area.getCaret(); - caret.setUpdatePolicy(DefaultCaret.NEVER_UPDATE); SyntaxLanguage.setLanguage(area, pluginName); content = null;