From: Bernard D. <bde...@or...> - 2018-06-01 13:48:28
|
Hi Joachim, Le 1 juin 2018 à 00:58, Joachim Kock <ko...@ma...> a écrit : > At any time, one of the buttons should be a default > button, so that it can be hit with Return. > Following Excalibur, I think that the default button > should be the 'Find Next' button all the time, except > if something changes in the word field (either > because the user writes something manually, or because > the change came from a click in the suggestions field), > in which case the 'Correct' button should be default. I have now implemented the last aspect of this suggestion: when the user enters text manually in the word field, the Correct button becomes the default. To achieve this, I introduced a new option -editProc in the [view] command. It means that the core must be rebuilt to get this behavior… BUT I put the corresponding instruction (in AlphaTcl) inside a catch so that if you do not want to rebuild the core, you can still use the code in AlphaTcl without getting an error. Changes committed to the repository (rev. 1473 <https://sourceforge.net/p/alphacocoa/code/1473/>). > Furthermore, it would be great if the spellchecker > pane could have a few key bindings defined: Cmd-L for > 'Learn' and Cmd-I for 'Ignore'. (And of course Cmd-W > for closing the pane.) Hmm! This is the next challenge... |