The latest Beta of PicoMite (B5) adds the F12 key in the editor to beautify code automatically. Since F12 isn’t marked on the PicoCalc keyboard, is there a key or combination of keys that generate the same scan codes as F12 on a standard keyboard?
LOL I was thinking the exact same thing! Couldn’t find anything in the Picomite manual.
Maybe someone could add this to the Keyboard BIOS ![]()
I figured it out. Edit Editor.c and insert line 6754 after case F12: to look like this:
case F12:
case CTRLKEY('A'):
I used Ctrl-A as the key since Peter said that’s what he’s going to be using when he changes the code.
This doesn’t work on line-numbered programs. If the cursor is on the first character of the line, then the left cursor arrow will be treated just like F12 or Ctrl-A and beautify the program otherwise, it will move the cursor left as usual.
Thanks Tom.
Will Peter be creating a code for F11? Then we will have F1 thru F12…Brian
He hasn’t said but I suspect he won’t since F11 has no function in the editor. My change only affects the editor and can’t be used by programs as F1 through F10 can.