You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2026/08/25 12:41:47 UTC

svn commit: r1937414 - pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/pagepane

Author: tilman
Date: Tue Aug 25 12:41:47 2026
New Revision: 1937414

Log:
PDFBOX-6240: clear the text if you want stale content to never briefly flash, as suggested by copilot

Modified:
   pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/pagepane/PagePane.java

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/pagepane/PagePane.java
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/pagepane/PagePane.java	Tue Aug 25 12:41:42 2026	(r1937413)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/pagepane/PagePane.java	Tue Aug 25 12:41:47 2026	(r1937414)
@@ -577,6 +577,10 @@ public class PagePane implements ActionL
         {
             hoverWindow.setVisible(false);
         }
+        if (hoverTextArea != null)
+        {
+            hoverTextArea.setText("");
+        }
         hoveredRectangle = null;
     }