fpjohnston / TECO-64

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

Index origin of computed goto #25

Open LdBeth opened 9 months ago

LdBeth commented 9 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.

rhaberkorn commented 2 months ago

FYI: SciTECO also has 1 as the origin.