Skip to content

Commit

Permalink
word wrap in popups
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-m0nst3r committed Jan 8, 2021
1 parent d2ee5ff commit f38ad0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/burp/ui/MessageDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private void init() {
RTextScrollPane scrollPane = new RTextScrollPane(syntaxTextArea);

syntaxTextArea.setText(msg);
syntaxTextArea.setLineWrap(false);
syntaxTextArea.setLineWrap(true);
syntaxTextArea.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
syntaxTextArea.setCaretPosition(0);
// 设置语法高亮
Expand Down

0 comments on commit f38ad0f

Please sign in to comment.