From 5a69e405fcae96b476cdd7a0767e87b94c0b7266 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 22 Oct 2013 16:47:48 -0700 Subject: acme: scroll a directory window when navigating if: - the cursor is on the last line - the navigation would put the cursor over the tag of the following text R=rsc CC=smckean83 https://codereview.appspot.com/15280045 --- plumb/fileaddr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plumb/fileaddr') diff --git a/plumb/fileaddr b/plumb/fileaddr index cd2f120f..f5595bd4 100644 --- a/plumb/fileaddr +++ b/plumb/fileaddr @@ -1,4 +1,4 @@ addrelem='((#?[0-9]+)|(/[A-Za-z0-9_\^]+/?)|[.$])' addr=:($addrelem([,;+\-]$addrelem)*) -twocolonaddr = :([0-9]+)[:.]([0-9]+) +twocolonaddr = ([0-9]+)[:.]([0-9]+) -- cgit v1.2.3