aboutsummaryrefslogtreecommitdiff
path: root/man/man1/p.1
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2017-11-02 11:58:07 -0400
committerRuss Cox <rsc@swtch.com>2017-11-02 12:01:14 -0400
commit3d6e5cb56a6249e7f3001091fe81c171cd501319 (patch)
treea59c7110ff800a3c83694928e4a16f089d19aa38 /man/man1/p.1
parent805d91d359d67676a89edc9789ee8267bb7da6e1 (diff)
downloadplan9port-3d6e5cb56a6249e7f3001091fe81c171cd501319.tar.gz
plan9port-3d6e5cb56a6249e7f3001091fe81c171cd501319.tar.bz2
plan9port-3d6e5cb56a6249e7f3001091fe81c171cd501319.zip
acme: preserve window position and selection during Get
Before, executing Get in a file rewound the window offset and selection to the start of the file. After this CL, Get preserves the window offset and selection, where preserve is defined as "the same line number and rune offset within the line". So if the window started at line 10 before and the selection was line 13 chars 5-7, then that will still be true after Get, provided the new content is large enough. This should help the common situation of plumbing a compiler error, realizing the window is out of date, clicking Get, and then losing the positioning from the plumb operation.
Diffstat (limited to 'man/man1/p.1')
0 files changed, 0 insertions, 0 deletions