itext / i7j-rups

RUPS is an acronym for Reading and Updating PDF Syntax. RUPS is a tool built on top of iText® that allows you to look inside a PDF document and browse the different PDF objects and content streams.
Other
291 stars 34 forks source link

Fix indentation bugs in SyntaxHighlightedStreamPane #103

Closed RonSkons closed 1 year ago

RonSkons commented 1 year ago

Fixed a bug where using nested subpath-creation operators indents too many times. Before:

After:

Also modified SyntaxHighlightedStreamPane.JScrollPane to disable line wrapping in most situations. Wrapped lines ignore indentation, making content streams with long lines more difficult to read. Now, long lines will scroll horizontally without wrapping, preserving indentation.