Merge pull request #788 from PalAditya/master

Fix issue 785: Add new help shortcuts
This commit is contained in:
Matt Pass
2019-10-15 19:42:14 +01:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -293,7 +293,10 @@ $text = array(
"Contract expand file..." => "Contract / expand file manager",
"Fold unfold current..." => "Fold / unfold current line",
"Refocus on document" => "Refocus on document",
"Cancel tasks" => "Cancel tasks"
"Cancel tasks" => "Cancel tasks",
"Zoom out" => "Zoom out all non-function/class declarations",
"Jump to" => "Jump to declaration of class/function",
"Jump to previous tab" => "Jump to previous tab"
),
"ice-coder" =>

View File

@@ -40,10 +40,13 @@ $t = $text['help'];
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Alt <span class="plus">+</span> p</span> <span class="shortcut"><?php echo $t['Wrap unwrap p'];?></span><br>
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Alt <span class="plus">+</span> a</span> <span class="shortcut"><?php echo $t['Wrap unwrap a'];?></span><br>
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Alt <span class="plus">+</span> 1, 2 <?php echo $t['or'];?> 3</span> <span class="shortcut"><?php echo $t['Wrap unwrap h1...'];?></span><br>
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Alt <span class="plus">+</span> Enter</span> <span class="shortcut"><?php echo $t['End line with...'];?></span><br><br>
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Alt <span class="plus">+</span> Enter</span> <span class="shortcut"><?php echo $t['End line with...'];?></span><br>
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Right click</span> <span class="shortcut"><?php echo $t['Jump to'];?></span><br>
<span class="key">F1 <span class="plus"><?php echo $t['or'];?></span> Fn <span class="plus">+</span> F1</span><span class="shortcut"><?php echo $t['Zoom out'];?></span><br><br>
<h2><?php echo $t['On Tabs'];?></h2>
<span class="key"><?php echo $t['Middle click'];?></span> <span class="shortcut"><?php echo $t['Close tab'];?></span><br>
<span class="key"><?php echo $isMac ? "Cmd" : "Ctrl";?> <span class="plus">+</span> Backspace</span> <span class="shortcut"><?php echo $t['Jump to previous tab'];?></span><br><br>
</div>
<div style="display: inline-block; width: 385px">