-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the API of REPL.TerminalMenus #35915
Merged
Merged
Commits on Jun 2, 2020
-
Improve style in REPL.TerminalMenus
This eliminates camelCase, fixes a typo (which unfortunately was documented), adds a `const` and type info to the CONFIG dict, and does some renaming/consolidation. Finally, it eliminates a dangerous escape hatch from one of the tests.
Configuration menu - View commit details
-
Copy full SHA for f602094 - Browse repository at this point
Copy the full SHA f602094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 191433b - Browse repository at this point
Copy the full SHA 191433bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d896a5 - Browse repository at this point
Copy the full SHA 4d896a5View commit details -
Improve the
writeline
API to prevent leak of internalsThe old `writeLine` forced the user to take the (undocumented) step of looking up the cursor character in the internal CONFIG Dict. We can use the name change as an opportunity to improve the API.
Configuration menu - View commit details
-
Copy full SHA for 5b86abc - Browse repository at this point
Copy the full SHA 5b86abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f369a6 - Browse repository at this point
Copy the full SHA 3f369a6View commit details -
Provide
noptions
as an alternative tooptions
The only way `options` was being used was to count the number, so it seems a bit silly to force the user to pass a vector. This will make it easier to support dynamic menus.
Configuration menu - View commit details
-
Copy full SHA for 8937a72 - Browse repository at this point
Copy the full SHA 8937a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for a955ac0 - Browse repository at this point
Copy the full SHA a955ac0View commit details -
Improve support for dynamic menus
For menus whose number of options might change as a consequence of user input (e.g., foldable menus), this prevents indexing errors.
Configuration menu - View commit details
-
Copy full SHA for 5725a93 - Browse repository at this point
Copy the full SHA 5725a93View commit details -
This should enhance the support for dynamic menus that might change the number of options offered.
Configuration menu - View commit details
-
Copy full SHA for af625a2 - Browse repository at this point
Copy the full SHA af625a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5807d79 - Browse repository at this point
Copy the full SHA 5807d79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 291305c - Browse repository at this point
Copy the full SHA 291305cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c16b616 - Browse repository at this point
Copy the full SHA c16b616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ccb78e - Browse repository at this point
Copy the full SHA 2ccb78eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b86c7a3 - Browse repository at this point
Copy the full SHA b86c7a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a5f63 - Browse repository at this point
Copy the full SHA 70a5f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for c64de7e - Browse repository at this point
Copy the full SHA c64de7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b24b82 - Browse repository at this point
Copy the full SHA 2b24b82View commit details
Commits on Jun 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2f4c68a - Browse repository at this point
Copy the full SHA 2f4c68aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a6d38b - Browse repository at this point
Copy the full SHA 2a6d38bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 648a06e - Browse repository at this point
Copy the full SHA 648a06eView commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 99eab4e - Browse repository at this point
Copy the full SHA 99eab4eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.