提交 f5756e42 编写于 作者: S serge-rider

Data viewer activation fixes


Former-commit-id: de127969
上级 997bbc0d
......@@ -213,10 +213,8 @@ public class PlainTextPresentation extends AbstractPresentation implements IAdap
horOffsetEnd - horOffsetBegin - 1,
null,
curLineColor);
UIUtils.asyncExec(() -> {
text.setStyleRanges(new StyleRange[]{curLineRange});
text.redraw();
});
text.setStyleRanges(new StyleRange[]{curLineRange});
text.redraw();
}
}
......
......@@ -250,7 +250,7 @@ public class SQLEditor extends SQLEditorBase implements
@Override
protected String[] getKeyBindingContexts() {
return new String[]{TEXT_EDITOR_CONTEXT, SQLEditorContributions.SQL_EDITOR_CONTEXT, SQLEditorContributions.SQL_EDITOR_SCRIPT_CONTEXT};
return new String[]{SQLEditorContributions.SQL_EDITOR_CONTEXT, SQLEditorContributions.SQL_EDITOR_SCRIPT_CONTEXT};
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册