summaryrefslogtreecommitdiffstats
path: root/src/cmd/acme/addr.c
Commit message (Collapse)AuthorAgeFilesLines
* acme: preserve window position and selection during GetRuss Cox2017-11-021-0/+21
| | | | | | | | | | | | | | | | | 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.
* acme: check file content before declaring file "modified since last read"Russ Cox2017-10-101-0/+1
| | | | | | | | | | | | | Bad remote file systems can change mtime unexpectedly, and then there is the problem that git rebase and similar operations like to change the files and then change them back, modifying the mtimes but not the content. Avoid spurious Put errors on both of those by checking file content. (False positive "modified since last read" make the real ones difficult to notice.)
* acme: allow :6 in 5-line fileRuss Cox2013-07-311-0/+2
| | | | | R=rsc https://codereview.appspot.com/12162043
* acme: fix out of order address crashRuss Cox2011-07-101-1/+1
| | | | | R=rsc http://codereview.appspot.com/4690042
* make :1-1 work (Arvindh Tamilmani)rsc2007-03-261-1/+2
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-2/+2
|
* remove searching print; check fids in use; handle addr correctly againrsc2005-01-271-1/+0
|
* change md argument to number etc. (which acted only as a flag)rsc2004-10-221-12/+14
| | | | | | | | | | to an actual flag. buffer underrun check in number add xdata file for exactly the addressed region save addr across opens
* SunOS can rot in hell.rsc2004-03-261-3/+3
|
* More files related to user-level file servers.rsc2003-12-111-0/+269
Also add acme!