Wide Lines and User Procedures
In order to support wider files, we had to increase the size of numerous internal data structures. Because the CM stack did not provide enough space for these structures, we were able to make this feature available only in the NM version.
You can write User Interface procedures to perform additional processing of either new lines or commands you enter. Typically, these routines are written in SPL and are compiled in SL files. The new wide-line structures cannot be passed to CM routines without changing and recompiling them. These routines would also have to be revised to make sure they can handle the extra amount of text. That’s assuming there was enough stack space left.
For these reasons, we have decided to continue using CM functions to exchange information with user procedures. In order to do this, we had to limit the information to 1,000 characters. If you are trying to edit a file with lines wider than 1,000 bytes, Qedit displays the following warning:
User Procedures can not handle more than 1000 characters...
Qedit then truncates the line to the first 1,000 characters before it hands it off to the user procedure.