未验证 提交 b314e0bd 编写于 作者: S Surendrajat 提交者: GitHub

fix(gui): improve color schemes (#1101) (PR #1105)

* do not use hardcoded color for highlighting
* add a new theme: druid
上级 2bdde6a5
......@@ -30,8 +30,6 @@ public abstract class AbstractCodeArea extends RSyntaxTextArea {
private static final Logger LOG = LoggerFactory.getLogger(AbstractCodeArea.class);
public static final Color MARK_ALL_HIGHLIGHT_COLOR = Color.decode("#FFED89");
protected final ContentPanel contentPanel;
protected final JNode node;
......@@ -45,7 +43,6 @@ public abstract class AbstractCodeArea extends RSyntaxTextArea {
loadSettings();
JadxSettings settings = contentPanel.getTabbedPane().getMainWindow().getSettings();
setLineWrap(settings.isCodeAreaLineWrap());
setMarkAllHighlightColor(MARK_ALL_HIGHLIGHT_COLOR);
JPopupMenu popupMenu = getPopupMenu();
popupMenu.addSeparator();
......
......@@ -10,7 +10,8 @@ public final class EditorTheme {
new EditorTheme("idea"),
new EditorTheme("vs"),
new EditorTheme("dark"),
new EditorTheme("monokai")
new EditorTheme("monokai"),
new EditorTheme("druid")
};
public static EditorTheme[] getAllThemes() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册