Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 88769be

Browse files
Merge pull request #1828 from montegoulding/bugfix-20599
[[ Bug 20599 ]] USe F1 for autocomplete shortcut
2 parents f82430b + 8ab6b38 commit 88769be

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

Documentation/guides/The LiveCode IDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,9 @@ Figure 12 – Find and Replace
881881
| Find next | Control-g | Command-g |
882882
| Find selected text | Control-Option-f | Command-Option-f |
883883
| Format handler or move to next placeholder | Tab | Tab |
884-
| Show completions palette | Control-shift-right | Command-shift-right |
884+
| Next tab in Editor | Control-tab | Control-tab |
885+
| Previous tab in Editor | Control-shift-tab | Control-shift-tab |
886+
| Show completions palette | F1 | F1 |
885887

886888
| **The Message Box** | **Windows / Linux** | **Mac OS X**|
887889
|------|--------|-------|

Toolset/palettes/script editor/behaviors/revsecommoneditorbehavior.livecodescript

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,6 +1413,17 @@ on escapeKey
14131413
pass escapeKey
14141414
end escapeKey
14151415

1416+
on help
1417+
if revEnvironmentEditionProperty("autocomplete") then
1418+
ideAutocompleteHandleHelp the long id of me, sObjectId
1419+
if the result then
1420+
pass help
1421+
end if
1422+
else
1423+
pass help
1424+
end if
1425+
end help
1426+
14161427
-- This calculates the position of the caret based on pPosition where the caret is (hypothetically).
14171428
private function caretPositionRight pLineStartChar, pProposedPosition, pLine
14181429
local tFirstPosition

0 commit comments

Comments
 (0)