inspection tool window: preview editor proper right margin IDEA-153397

This commit is contained in:
Dmitry Batkovich
2016-03-21 21:08:30 +03:00
parent 92093a3ecf
commit cf4dd6b3fe
@@ -521,8 +521,6 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren
settings.setAdditionalColumnsCount(0);
settings.setAdditionalLinesCount(0);
settings.setLeadingWhitespaceShown(true);
settings.setRightMarginShown(true);
settings.setRightMargin(60);
myPreviewEditor.getColorsScheme().setColor(EditorColors.GUTTER_BACKGROUND, myPreviewEditor.getColorsScheme().getDefaultBackground());
myPreviewEditor.getScrollPane().setBorder(IdeBorderFactory.createBorder(SideBorder.TOP));
UsagePreviewPanel.highlight(Collections.emptyList(), myPreviewEditor, myProject);