fpjohnston / TECO-64

Enhanced and portable version of TECO text editor in C.
24 stars 6 forks source link

Index origin of computed goto #25

Open LdBeth opened 3 months ago

LdBeth commented 3 months ago

The TECO manual does say nth tag in n@O/tag1,tag2,.../, however TECO C does use 0 origin for computed goto, that is n=1 selects tag2. In my opinion TECO-64 got it right. Maybe a feature flag can be added to facilitate this.