CATALOG'FCNS is the home of functions, not text!
Benjamin found recently:
In AIM if you select
CATALOG'FCNS
then1/x
it will put1/x
into the AIM buffer.
That's a plain and fundamental bug. CATALOG'FCNS
shall contain functions always.
Implementation details:
-
Ensure that CATALOG'FCNS
do not add text in AIM -
Ensure that CATALOG'FCNS
functions close AIM -
Change behaviour of ITM_A
throughITM_F
inCM_NORMAL
to instead add to AIM buffer instead of NIM buffer if they were selected from the catalog -
Add behaviour of other alphabetic characters in CM_NORMAL
to add to AIM buffer when selected from the catalog -
Ensure that key presses in AIM when the catalog is open perform searches of the catalog (in the same way as elsewhere) -
Fix buffer overrun in ASM buffer when more than two characters are entered
Edited by Benjamin Titmus