Add option in that controls Home and End. Default unchanged.#222
Add option in that controls Home and End. Default unchanged.#222soegaard wants to merge 1 commit intoracket:masterfrom
Conversation
|
Note that this PR relies on which add the string constant missing in the test below. |
|
I think it would be better if it was clear what both states of the checkbox mean. One option would be to have a more verbose checkbox; another would be to use radio buttons with two strings. Probably it is good to add some test cases for this. The documentation in DrRacket also needs a tweak for this change. There should be a bump to the version dependency with this too. |
Ideally I'd like to add a tooltip to this check box. Alex Harsanyi has a nice tooltip-mixin, but it would be better to have similar functionality directly in the framework. In the mean time: I think, visually it is better to keep a check box - there are no other radiobuttons in that dialog.
I looked at https://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html
[1] "Consider a checkbox when the user needs to choose between two states." |
|
I'll have to ask the release managers about gui-widget-mixins as it would be a new pkg in the distribution but I like the idea of a tooltip. The page I had in mind is this one, sorry about that. |
|
Hi @soegaard : let's go ahead and add that dependency to have a tooltip for this checkbox item. But let's hold off until next week to merge this pull request so that it'll happen only in the release after the upcoming one (just to avoid trouble). |
This PR adds a new option in "Editing | General Editing".
The conventions on macOS differ from Windows/Linux when it comes
the handling of the Home and End keys. On macOs they are move
to the beginning and end of the document, on the other systems to
the beginning and end of the line.
If the new option is checked, the macOS convention is used.
The option also affects shift+Home/End.
The default value is set of false. Should this default to true on macOS?