From f700268228c20548dc7d3fb756ef6286931e396c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 31 Mar 2025 01:45:26 +0300 Subject: opener.tes: fixed opening filename:line if filename has trailing digits The trailing digits where cut off the filename. E.g. when trying `sciteco test.f77:100`, we would open test.f on line 100 instead. --- lib/opener.tes | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/opener.tes b/lib/opener.tes index 21c118d..6de6237 100644 --- a/lib/opener.tes +++ b/lib/opener.tes @@ -20,9 +20,10 @@ ' !* filename:line[:column][:] *! - LR -A-:"=R' <-A"DR|1;'> -A-:"= - \U.a R <-A"DR|1;'> -A-:"= - \U.l Q.aU.c R + LR -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 ' -- cgit v1.2.3