Commit Diff


commit - c8471ac58c0520ae9e79c4971b5df402c1390f97
commit + c84e737c3f64030dc9b66ddb931cac757e9ba986
blob - c89b6c2d51e7e5a7889da2a21551e2f78a8359cb
blob + d40f6a4b91f439aacd561ff0a1b325af9a77f0ba
--- plumb/basic
+++ plumb/basic
@@ -59,6 +59,15 @@ arg isfile	$0
 plumb to openoffice
 plumb start openoffice $file
 
+# existing files tagged by line number:columnumber or linenumber.columnumber, go to editor
+type is text
+data matches '([.a-zA-Z¡-￿0-9_/\-]*[a-zA-Z¡-￿0-9_/\-])'$twocolonaddr'
+arg isfile     $1
+data set       $file
+attr add       addr=$2-#0+#$3
+plumb to edit
+plumb client $editor
+
 # existing files, possibly tagged by line number, go to editor
 type is text
 data matches '([.a-zA-Z¡-￿0-9_/\-]*[a-zA-Z¡-￿0-9_/\-])('$addr')?'
blob - 0f08dc3eac9a71ce6c409973dce96a78c6c889f0
blob + cd2f120f7b1d86f43606b0fcd75da83084231791
--- plumb/fileaddr
+++ plumb/fileaddr
@@ -1,3 +1,4 @@
 addrelem='((#?[0-9]+)|(/[A-Za-z0-9_\^]+/?)|[.$])'
 addr=:($addrelem([,;+\-]$addrelem)*)
 
+twocolonaddr = :([0-9]+)[:.]([0-9]+)