Skip to content

Ghidra is a software reverse engineering (SRE) framework

Merge remote-tracking branch `origin/GP-2446_Dan_decompilerMarkerMargin`

Ryan Kurtzc2b40a5b94e4
diff --cc Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/ClangLayoutController.java
index bd9de25b7e,84a5084516..e1c05cf747
--- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/ClangLayoutController.java
+++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/ClangLayoutController.java
@@@ -230,17 -204,16 +204,17 @@@ public class ClangLayoutController impl
@SuppressWarnings("deprecation")
// ignoring the deprecated call for toolkit
private void updateOptions() {
- syntax_color[ClangToken.KEYWORD_COLOR] = options.getKeywordColor();
- syntax_color[ClangToken.TYPE_COLOR] = options.getTypeColor();
- syntax_color[ClangToken.FUNCTION_COLOR] = options.getFunctionColor();
- syntax_color[ClangToken.COMMENT_COLOR] = options.getCommentColor();
- syntax_color[ClangToken.VARIABLE_COLOR] = options.getVariableColor();
- syntax_color[ClangToken.CONST_COLOR] = options.getConstantColor();
- syntax_color[ClangToken.PARAMETER_COLOR] = options.getParameterColor();
- syntax_color[ClangToken.GLOBAL_COLOR] = options.getGlobalColor();
- syntax_color[ClangToken.DEFAULT_COLOR] = options.getDefaultColor();
- syntax_color[ClangToken.ERROR_COLOR] = options.getErrorColor();
- syntax_color[ClangToken.SPECIAL_COLOR] = options.getSpecialColor();
+ syntaxColor[ClangToken.KEYWORD_COLOR] = options.getKeywordColor();
+ syntaxColor[ClangToken.TYPE_COLOR] = options.getTypeColor();
+ syntaxColor[ClangToken.FUNCTION_COLOR] = options.getFunctionColor();
+ syntaxColor[ClangToken.COMMENT_COLOR] = options.getCommentColor();
+ syntaxColor[ClangToken.VARIABLE_COLOR] = options.getVariableColor();
+ syntaxColor[ClangToken.CONST_COLOR] = options.getConstantColor();
+ syntaxColor[ClangToken.PARAMETER_COLOR] = options.getParameterColor();
+ syntaxColor[ClangToken.GLOBAL_COLOR] = options.getGlobalColor();
+ syntaxColor[ClangToken.DEFAULT_COLOR] = options.getDefaultColor();
+ syntaxColor[ClangToken.ERROR_COLOR] = options.getErrorColor();
++ syntaxColor[ClangToken.SPECIAL_COLOR] = options.getSpecialColor();
// setting the metrics here will indirectly trigger the new font to be used deeper in
// the bowels of the FieldPanel (you can get the font from the metrics)