Philip A. Viton wrote:
If I create an empty grid, then type in a single character and hit
Enter, the single character is erased. If I enter 2+ characters,
everything is OK. This happens with the distributed grid in beta-i as
well as Chris' fix for my Enter problem. It does not happen with
Example 2, which starts with a filled grid. Is there a problem with an
empty grid?
This is a bug, thanks for pointing it out.
To fix, open jzgrid.ijs (in system/classes/grid) and replace line (in
editvalidate):
(Text -: Eoldtext);utf8 Text return.
with the 2 lines:
txt=. utf8 Text
(old -: txt);txt return.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm