-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit 3c346ef
Find/Replace: display on top of the related Editor
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus
try to implement partial transparency
As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D
Fix find/replace focus on Windows
Probably this approach could be adopted by all OSes with a little care on the window lifecycle.
[Find/Replace][Win] grab focus when just opened
Solves #6951 (comment)
Use Windows method for all OS1 parent 03dd1b3 commit 3c346ef
1 file changed
+27
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | + | ||
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
| |||
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
62 | + | ||
61 | 63 |
| |
62 | 64 |
| |
63 | 65 |
| |
| |||
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
75 | + | ||
73 | 76 |
| |
74 | 77 |
| |
75 | 78 |
| |
76 | 79 |
| |
77 | 80 |
| |
78 | 81 |
| |
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
79 | 92 |
| |
80 | 93 |
| |
81 | - | ||
82 | - | ||
94 | + | ||
95 | + | ||
96 | + | ||
83 | 97 |
| |
84 | 98 |
| |
85 | 99 |
| |
| |||
89 | 103 |
| |
90 | 104 |
| |
91 | 105 |
| |
92 | - | ||
106 | + | ||
107 | + | ||
93 | 108 |
| |
94 | 109 |
| |
95 | 110 |
| |
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
117 | + | ||
118 | + | ||
119 | + | ||
96 | 120 |
| |
97 | 121 |
| |
98 | 122 |
| |
|
0 commit comments