This repository was archived by the owner on Mar 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed
Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change 3232 </resource >
3333 </resources >
3434 <plugins >
35+ <plugin >
36+ <!-- Apply patches -->
37+ <groupId >org.apache.maven.plugins</groupId >
38+ <artifactId >maven-patch-plugin</artifactId >
39+ <version >1.1.1</version >
40+ <executions >
41+ <execution >
42+ <id >bugfix-patches</id >
43+ <phase >compile</phase >
44+ <goals >
45+ <goal >apply</goal >
46+ </goals >
47+ <configuration >
48+ <patchDirectory >${patches.location} </patchDirectory >
49+ <patches >
50+ <patch >add_hide_tooltip.diff</patch >
51+ <patch >fix_linked_mode.diff</patch >
52+ <patch >fix_focus.diff</patch >
53+ <patch >fix_goto_line.diff</patch >
54+ <patch >fix_scrolling.diff</patch >
55+ </patches >
56+ <optimizations >false</optimizations >
57+ <strictPatching >true</strictPatching >
58+ <strip >1</strip >
59+ <targetDirectory >${project.build.directory} /classes</targetDirectory >
60+ </configuration >
61+ </execution >
62+ </executions >
63+ </plugin >
64+ <plugin >
65+ <!-- Fix for https://github.com/eclipse/che/issues/3768. The plugin needs for putting correct path to the resources.-->
66+ <!-- After upgrading Orion Editor version don't forget to add folder with images-->
67+ <!-- org/eclipse/che/orion/public/built-codeEdit/webtools/images-->
68+ <artifactId >maven-antrun-plugin</artifactId >
69+ <executions >
70+ <execution >
71+ <id >replace</id >
72+ <phase >compile</phase >
73+ <goals >
74+ <goal >run</goal >
75+ </goals >
76+ <configuration >
77+ <target >
78+ <replace file =" ${project.build.outputDirectory}/org/eclipse/che/orion/public/built-codeEdit/webtools/plugins/webToolsPlugin.js" token =" ../webtools/images" value =" ../_app/built-codeEdit/webtools/images" />
79+ </target >
80+ </configuration >
81+ </execution >
82+ </executions >
83+ </plugin >
3584 <plugin >
3685 <groupId >com.mycila</groupId >
3786 <artifactId >license-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 1+ This patch adds ability to hide opened tooltips.
2+ ===================================================================
3+ 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
4+ --- a/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js
5+ +++ b/org/eclipse/che/orion/public/built-codeEdit/code_edit/built-codeEdit-amd.js
6+ @@ -28631,6 +28631,13 @@ define("orion/editor/editor", [ //$NON-NLS-0$
7+ getTooltip: function() {
8+ return mTooltip.Tooltip.getTooltip(this._textView, this);
9+ },
10+ + /**
11+ + * Hides opened tooltip.
12+ + */
13+ + hideTooltip: function() {
14+ + var tooltip = mTooltip.Tooltip.getTooltip(this._textView, this);
15+ + tooltip.hide(true);
16+ + },
17+ /**
18+ * Returns the zoom ruler of the editor.
19+ *
You can’t perform that action at this time.
0 commit comments