Message Editor UI improvements#101
Open
intrudir wants to merge 19 commits intoCompassSecurity:masterfrom
Open
Conversation
…oolchain, bump wrapper to Gradle 9.2.1
- Remove applyThemeToComponent() call that broke RSyntaxTextArea key input - Explicitly set editor as enabled and focusable - Remove redundant Parsed & Prettified panel from SAML Message Info tab
RSyntaxTextArea had key input issues inside Burp's Swing environment. Replaced with a thin wrapper around Burp's own RawEditor which handles theming, editability, and selection natively. Prettification is preserved.
Use plain JScrollPane instead of RTextScrollPane to avoid focus/input conflicts in Burp's Swing environment. Set thread context ClassLoader during construction so RSyntaxTextArea can load its internal resources through Burp's plugin ClassLoader. Theme colors applied manually to match Burp dark/light mode.
RSyntaxTextArea breaks keyboard input inside Burp's Swing environment. Replaced with a pure-Swing JTextPane + state-machine tokenizer that colors XML tags, attributes, values, comments, CDATA, and PIs. No external dependency — zero Swing/ClassLoader conflicts. - Debounced highlighting (150ms) for smooth typing - Dark/light theme support matching Burp - Horizontal scroll (no line wrapping) - Removed RSyntaxTextArea dependency from build
Type to search — all matches highlighted, auto-scrolls to first match. Enter = next match, Shift+Enter = previous, Escape = clear. Match counter shows current position (e.g. 3 / 12).
Flatten all attack categories into 4 rows instead of 5 titled sections. Replace verbose Help buttons with small '?' buttons. Combine CVE and XML attacks into one row. Reduce panel preferred height from 460px to 130px — gives much more room to the XML editor.
Increase vertical gap between rows (2px → 6px) and padding around edges. Rename 'Send Certificate to SAML Raider Certificates' → 'Store Certificate'.
Add bold section labels and horizontal separators between groups: Message | separator | XSW / CVE / XML | separator | Signing Split CVE and XML into separate rows for clarity. Move Store Certificate under Signing section where it belongs.
Replace plain text input with a dialog offering two options: - 'Use Burp Collaborator' checkbox (auto-generates payload via API) - 'OOB Domain' text field for custom domains (disabled when Collaborator is checked, enabled when unchecked) Collaborator is selected by default. Handles errors gracefully if Collaborator is not available. Used by both Test XXE and Test XSLT.
Check BurpSuiteEdition at runtime — if not Professional, the 'Use Burp Collaborator' checkbox is unchecked and disabled with a tooltip explaining why. OOB Domain field is enabled by default on Community so the user can enter a custom domain immediately.
- Previous/next match buttons (▲/▼) next to search field - Soft wrap checkbox (visual only, no text modification) - Wrap controls JTextPane viewport tracking, not document content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I hit it with Claude Code for some UI improvements! So far I have just updated the message editor tab. Updates are below. More to come soon as i test and play around with some targets
UI Modernization & Build Improvements
Build System
org.gradle.java.homepin; builds now work on any OS without path editsSAML Message Editor
Attack Panel
?icons1 / 12)Cleanup