Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MPS-11214 make typesystem messages' owner simply a checker

  • Loading branch information...
commit b6ff5a53840b9925daac4779f9839bb6269ff724 1 parent f481177
Cyril Konopko authored
View
5 core/languageDesign/editor/source/jetbrains/mps/nodeEditor/EditorComponent.java
@@ -1237,11 +1237,6 @@ public NodeHighlightManager getHighlightManager() {
return myHighlightManager;
}
- protected void refreshHighlightManager() {
- myHighlightManager.dispose();
- myHighlightManager = new NodeHighlightManager(this);
- }
-
public CellActionType getActionType(KeyEvent keyEvent, EditorContext editorContext) {
if (keyEvent.getKeyCode() == KeyEvent.VK_LEFT && noKeysDown(keyEvent)) {
return CellActionType.LEFT;
View
1  core/languageDesign/editor/source/jetbrains/mps/nodeEditor/inspector/InspectorEditorComponent.java
@@ -46,7 +46,6 @@ private void reinitEditor() {
} else {
setEditorContext(new EditorContext(this, getEditedNode().getModel(), getOperationContext()));
}
- refreshHighlightManager();
rebuildEditorContent();
if (getOperationContext() != null) {
notifyCreation();
View
2  core/languageDesign/typesystem/source/jetbrains/mps/typesystem/checking/TypesEditorChecker.java
@@ -171,7 +171,7 @@ public boolean executeInUndoableCommand() {
public EditorMessageOwner getOwner(SNode node) {
if (node == null) return null;
- return getNodeTypesComponent(node);
+ return this;
}
protected boolean isPropertyEventDramatical(SModelPropertyEvent event) {
Please sign in to comment.
Something went wrong with that request. Please try again.