diff --git a/che-orion-editor/pom.xml b/che-orion-editor/pom.xml index c185d22a..200b52a7 100644 --- a/che-orion-editor/pom.xml +++ b/che-orion-editor/pom.xml @@ -32,55 +32,6 @@ - - - org.apache.maven.plugins - maven-patch-plugin - 1.1.1 - - - bugfix-patches - compile - - apply - - - ${patches.location} - - add_hide_tooltip.diff - fix_linked_mode.diff - fix_focus.diff - fix_goto_line.diff - fix_scrolling.diff - - false - true - 1 - ${project.build.directory}/classes - - - - - - - - - maven-antrun-plugin - - - replace - compile - - run - - - - - - - - - com.mycila license-maven-plugin diff --git a/che-orion-editor/src/main/patches/add_hide_tooltip.diff b/che-orion-editor/src/main/patches/add_hide_tooltip.diff deleted file mode 100644 index 717e7e64..00000000 --- a/che-orion-editor/src/main/patches/add_hide_tooltip.diff +++ /dev/null @@ -1,19 +0,0 @@ -This patch adds ability to hide opened tooltips. -=================================================================== -diff --git a/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js b/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js ---- a/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js -+++ b/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js -@@ -28631,6 +28631,13 @@ define("orion/editor/editor", [ //$NON-NLS-0$ - getTooltip: function() { - return mTooltip.Tooltip.getTooltip(this._textView, this); - }, -+ /** -+ * Hides opened tooltip. -+ */ -+ hideTooltip: function() { -+ var tooltip = mTooltip.Tooltip.getTooltip(this._textView, this); -+ tooltip.hide(true); -+ }, - /** - * Returns the zoom ruler of the editor. - * diff --git a/che-orion-editor/src/main/resources/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js b/che-orion-editor/src/main/resources/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js index d1627151..a57579e1 100644 --- a/che-orion-editor/src/main/resources/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js +++ b/che-orion-editor/src/main/resources/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js @@ -28656,6 +28656,15 @@ define("orion/editor/editor", [ //$NON-NLS-0$ getTooltip: function() { return mTooltip.Tooltip.getTooltip(this._textView, this); }, + + /** + * Hides opened tooltip. + */ + hideTooltip: function() { + var tooltip = mTooltip.Tooltip.getTooltip(this._textView, this); + tooltip.hide(true); + }, + /** * Returns the zoom ruler of the editor. *