Browse Source

Allow Ctrl+E as an alternative to Ctrl+Tab (which is usually taken on Linux). Document Ctrl+E and Ctrl+M.

git-svn-id: file:///var/svn/tigccpp/trunk@836 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 18 years ago
parent
commit
096b0a5a2a
2 changed files with 3 additions and 3 deletions
  1. 2 2
      tigcc/doc/System/Info/ide/editor.hss
  2. 1 1
      tigcc/ide/MainUnit.pas

+ 2 - 2
tigcc/doc/System/Info/ide/editor.hss

@@ -8,6 +8,6 @@ If you want to open a source file whose name is in the current source code, move
 <BR><BR>
 If the cursor is on an identifier, press F1 to display help on that identifier.
 <BR><BR>
-You can use Ctrl+Tab to switch between source files. Files in the project tree which are not visible at the moment are skipped.
+You can use Ctrl+Tab or Ctrl+E to switch between source files. Files in the project tree which are not visible at the moment are skipped.
 <BR><BR>
-Press Ctrl+Space to activate auto-completion for the current word. Press Ctrl+J to use a predefined template.
+Press Ctrl+Space or Ctrl+M to activate auto-completion for the current word. Press Ctrl+J to use a predefined template.

+ 1 - 1
tigcc/ide/MainUnit.pas

@@ -5043,7 +5043,7 @@ begin
 			TransferTarget := ttVTI;
 		SavePreferences;
 		UpdateDebugSettings;
-	end else if (Key = vk_Tab) and (Shift = [ssCtrl]) then begin
+	end else if ((Key = vk_Tab) or (Key = Ord('E'))) and (Shift = [ssCtrl]) then begin
 		NewSelection := ProjectTree.Selected;
 		if Assigned (NewSelection) then begin
 			repeat