partial revert

This commit is contained in:
vadim.lomshakov
2017-04-27 16:54:10 +03:00
parent 5b20bb0630
commit 5313fcca50
5 changed files with 0 additions and 10 deletions
@@ -214,7 +214,6 @@ public class DiffUtil {
editor.getSettings().setShowIntentionBulb(false);
((EditorMarkupModel)editor.getMarkupModel()).setErrorStripeVisible(true);
editor.getGutterComponentEx().setShowDefaultGutterPopup(false);
editor.getGutterComponentEx().resetInitialIconAreaWidth();
if (enableFolding) {
setFoldingModelSupport(editor);
@@ -83,7 +83,6 @@ public class ConsoleViewUtil {
editorSettings.setRightMarginShown(false);
editorSettings.setCaretRowShown(false);
editor.getGutterComponentEx().setPaintBackground(false);
editor.getGutterComponentEx().resetInitialIconAreaWidth();
editor.putUserData(EDITOR_IS_CONSOLE_VIEW, true);
@@ -93,7 +93,6 @@ public class DiffUtil {
EditorEx editor = (EditorEx)(isViewer ? factory.createViewer(document, project) : factory.createEditor(document, project));
editor.putUserData(DiffManagerImpl.EDITOR_IS_DIFF_KEY, Boolean.TRUE);
editor.getGutterComponentEx().revalidateMarkup();
editor.getGutterComponentEx().resetInitialIconAreaWidth();
if (fileType != null && project != null && !project.isDisposed()) {
CodeStyleFacade codeStyleFacade = CodeStyleFacade.getInstance(project);
@@ -64,6 +64,4 @@ public abstract class EditorGutterComponentEx extends JComponent implements Edit
public abstract void setForceShowRightFreePaintersArea(boolean value);
public abstract void setInitialIconAreaWidth(int width);
public abstract void resetInitialIconAreaWidth();
}
@@ -1810,11 +1810,6 @@ class EditorGutterComponentImpl extends EditorGutterComponentEx implements Mouse
myStartIconAreaWidth = width;
}
@Override
public void resetInitialIconAreaWidth() {
myStartIconAreaWidth = START_ICON_AREA_WIDTH;
}
private void invokePopup(MouseEvent e) {
final ActionManager actionManager = ActionManager.getInstance();
if (myEditor.getMouseEventArea(e) == EditorMouseEventArea.ANNOTATIONS_AREA) {