Instruction Table Editing Support now uses the correct font
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / tables / mi / InstructionTable.java
index a806bd2..6ffc93e 100644 (file)
@@ -38,13 +38,13 @@ public class InstructionTable
        private MicroInstructionMemory memory;
        private InstructionTableContentProvider provider;
        private final RowHighlighter highlighter;
-       private final ColorProvider cProv;
+       private final FontAndColorHelper cProv;
 
        public InstructionTable(Composite parent, DisplaySettings displaySettings, IThemeManager themeManager)
        {
                viewer = new LazyTableViewer(parent, SWT.FULL_SELECTION | SWT.BORDER | SWT.VIRTUAL);
                this.displaySettings = displaySettings;
-               this.cProv = new ColorProvider(viewer, themeManager);
+               this.cProv = new FontAndColorHelper(viewer, themeManager);
                this.highlighter = new RowHighlighter(viewer, cProv);
 
                Table table = viewer.getTable();