diff options
Diffstat (limited to 'lib/opener.tes')
-rw-r--r-- | lib/opener.tes | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/lib/opener.tes b/lib/opener.tes index 98ce631..c0183c8 100644 --- a/lib/opener.tes +++ b/lib/opener.tes @@ -1,40 +1,38 @@ !*$ - * M[opener] -- Open a number of files from the current buffer + * M[opener] -- Open files, specified on the command line * - * This is usually the unnamed buffer as initialized from the command line. * It supports both the +line[,column] and filename:line[:column] syntaxes. * Since this may make it hard to open files with certain file names, all * filenames after "--" are interpreted verbatim. + * It does not change the current buffer. *! -@[opener]{ - <.-Z; +@[opener]{ [* + <%.i :Q[\.i]:; EQ[\.i] !* --/-S stops processing of special arguments *! - 0A--"= 1A--"= 2A-10"= - L <:L;R 0X.f [* EBN.f ]* L> 1; + 0A--"= 1A--"= 2A"< + <%.i :Q[\.i]:; EBN[\.i]> 1; ''' 1U.l 1U.c !* +line[,column] *! 0A-+"= C 0A"D \U.l <0A"DC|1;'> 0A-,"= C \U.c <0A"DC|1;'> ' - 0A-10"= 2LR Oopen ' - ' ' + 0A"< %.i Oopen ' + '' !* filename:line[:column][:] *! - LR -A-:"=R' + ZJ -A-:"=R' 0U.p <-%.pA"D|1;'> Q.pA-:"= Q.p+1C \U.a R 0U.p <-%.pA"D|1;'> Q.pA-:"= Q.p+1C \U.l Q.aU.c R | Q.aU.l 1U.c ' - | - LR + !* FIXME: modifies the i *! + .,ZD ' !open! - 0X.f [* - EBN.f Q.c-1,Q.l-1ESFINDCOLUMN:J - ]* - L> -} + EBN[\.i] Q.c-1,Q.l-1ESFINDCOLUMN:J + > +]* } |