Burp Suite User Forum

Create new post

How do I create a highlight in HttpResponseEditor in Montoya API?

Benasin | Last updated: Aug 13, 2023 03:15PM UTC

Hi, I want to create a highlight effect same as the one in the Audit Issues Response Editor. I am using userInterface.createHttpResponseEditor(READ_ONLY) to create the Response Editor. I've tried setting the response withMarkers() but the highlight doesn't show up. Thanks!

Hannah, PortSwigger Agent | Last updated: Aug 14, 2023 08:53AM UTC

Hi Unfortunately, markers do not work in this way. Markers are used for indicating insertion points and providing highlights for raised issues. If you're using an HttpResponseEditor, you could use "setSearchExpression()" to highlight the text.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.