Increasing the number of trap characters for Txed

How may I increase the number of trap characters allowed in the text-editor control?

Only the letters 'a' through 't' are set as trap characters in the code below.

Setting the upper limit in the for-next loop higher than 116 produces the following error: "Too many trap chars for TextEdit."


! === begin code
LIBRARY "truectrl.trc"

WHEN ERROR IN
CALL TC_Init ! Initialize TrueControls

LET wid0 = 0
CALL TC_Show(wid0) ! Show default window

LET xl = .1 ! left edge
LET xr = .9 ! right edge
LET yb = .1 ! bottom edge
LET yt = .9 ! top edge
CALL TC_Win_Create (wid1, "CLOSE|BORDER FULL|", xl, xr, yb, yt)
CALL TC_Show (wid1)
CALL TC_win_switch (wid1)

DIM x$(60)
MAT x$= "123456789"

CALL TC_Txed_Create (textedit1_id, "TITLE|VSCROLL|HSCROLL|KEY EVENTS|", .1, .9, .2, .95)
CALL TC_Txed_ReadTextFromArray (textedit1_id, x$())
CALL TC_select (textedit1_id)

FOR i=97 to 116
CALL tc_txed_setTrapChar(textedit1_id, i, 1)
NEXT i

LET timer = 0

DO
CALL TC_Event (timer, event$, window, x1, x2)
SELECT CASE event$
CASE "KEYPRESS"
IF x1 = 27 THEN EXIT DO
CASE "HIDE"
IF window = 0 then EXIT DO
CASE "EXTEND MIDDLE"
CASE "TXE KEYPRESS"
SOUND 250, 0.1
CALL TC_TXED_Resume (textedit1_id)
CASE ELSE
END SELECT
LOOP
USE
PRINT "ERROR: " & extext$, exline$
PRINT ""
GET KEY k
END WHEN
CALL TC_Cleanup
END
! === end code

In lieu of the intended handler for the letter keys, this sample program below makes a sound through the speaker for each key press.

Page 589 of the Gold documentation says, "number of keys to be trapped passed first in values()". But it is not clear to me how to do this. My experiments with the Object subroutine to pass the "number of keys to be trapped" were not successful.

What modifications are needed to the program above to set all letter keys (characters 97 through 122) as trap characters?

Thank you,

Fred