mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
partial revert
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
-5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user