<div>
        Hi All,</div>
<div>
         </div>
<div>
        There is a bug in the text% widget when handling TABs.</div>
<div>
        In the attached code I have to use a list to specify the TAB positions.</div>
<div>
        (The code does not allow me to specify a vector.)</div>
<div>
        However when I try to insert a text containing a tabulator DrRacket</div>
<div>
        tells me:</div>
<div>
         </div>
<div>
        vector-ref: expects type <vector> as 1st argument, given: '(100 200 300 400 500 600 700 800 900 1000 100); other arguments were: 0</div>
<div>
         </div>
<div>
        I think it is a bug.</div>
<div>
         </div>
<div>
        Peter Ivanyi</div>
<div>
         </div>
<div>
        ----------------------------------------------------------------------------</div>
<div>
         </div>
<div>
        #lang racket<br />
        <br />
        (require (lib "class.ss")<br />
         (lib "mred.ss" "mred")<br />
        )<br />
        <br />
        (define win (new frame% (label "test")))<br />
        (define t1 (new text%))<br />
        (define canvas (new editor-canvas% (parent win)<br />
         (editor t1)<br />
         (style '(control-border))<br />
         )<br />
        )<br />
        (send t1 set-tabs '(100 200 300 400 500 600 700 800 900 1000 100) 1 #t)<br />
        (send t1 insert "Hello\tWorld")<br />
         </div>