Skip to content

Commit a1f25bb

Browse files
committed
Avoid collisions with editor shortcut mappings
Ctrl+Shift+T has been non-functional for a long time Ctrl+T was also in conflict, though (somehow) continued to work
1 parent 34ae163 commit a1f25bb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.textile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Restart Notepad++ if it's already running.
7878

7979
h2. Usage
8080

81-
| Ctrl+T | to select the matching tag |
82-
| Ctrl+Shift+T | to select both tags and the entire contents in between |
81+
| Alt+T | to select the matching tag |
82+
| Alt+Shift+T | to select both tags and the entire contents in between |
8383
| Ctrl+Alt+T | to select only the contents between tags |
8484
| Ctrl+E | to encode all selected non-ASCII characters to their HTML entities |
8585
| Ctrl+Alt+E | same as Ctrl+E, but encodes line breaks as well |

src/U_Npp_HTMLTag.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ constructor TNppPluginHTMLTag.Create;
169169

170170
self.PluginName := '&HTML Tag';
171171

172-
sk := self.MakeShortcutKey(True, False, False, 'T'); // Ctrl-T
172+
sk := self.MakeShortcutKey(False, True, False, 'T'); // Alt-T
173173
self.AddFuncItem('&Find matching tag', _commandFindMatchingTag, sk);
174174

175-
sk := self.MakeShortcutKey(True, False, True, 'T'); // Ctrl-Shift-T
175+
sk := self.MakeShortcutKey(False, True, True, 'T'); // Alt-Shift-T
176176
self.AddFuncItem('&Select tag and contents', _commandSelectTagContents, sk);
177177

178178
sk := self.MakeShortcutKey(True, True, False, 'T'); // Ctrl-Alt-T

0 commit comments

Comments
 (0)