summaryrefslogtreecommitdiffstats
path: root/src/cmd/acme/fns.h
Commit message (Collapse)AuthorAgeFilesLines
* acme: shift button 3 for reverse searchRuss Cox2024-06-151-4/+4
| | | | | An experiment. Let's see if it's any good. Also document the Mac conventions in devdraw(3).
* src/cmd/acme: provide info on presense or absence of undo history (#528)Roger Peppe2021-10-191-0/+2
| | | | | | It's sometimes useful to know whether there's been editing activity in a window. This PR adds that information to the ctl file. Change-Id: I21a342ac636dd5c7701b3ed560e3526867329c2c
* acme: fix buffer overflow introduced in parsetag refactorRuss Cox2020-01-131-1/+1
|
* acme: factor out tag parsing codeRuss Cox2020-01-131-0/+1
|
* acme: preserve window position and selection during GetRuss Cox2017-11-021-0/+2
| | | | | | | | | | | | | | | | | 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-1/+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: mouse movement for DelRuss Cox2012-09-231-1/+2
| | | | | | | | | | | | | | | If the mouse was in the tag of the old window, it was most likely pointing at Del. If bringing up a new window from below and not moving the mouse somewhere else, adjust it so that it ends up pointing at Del in the replacement window's tag too. This makes it easy to Del a sequence of windows in a column, from top to bottom. http://www.youtube.com/watch?v=ET8w6RT6u5M R=r http://codereview.appspot.com/6558047
* acme: remove -$ prototypesRuss Cox2008-03-071-3/+0
|
* acme: add -m option and avoid looking in the mirrorRuss Cox2008-04-171-0/+2
|
* Better window size management.rsc2005-12-161-1/+1
|
* Add $foo window names back to acme, enabled with -'$'.rsc2005-03-141-0/+3
| | | | | See the comment in wind.c about why this isn't the right solution.
* add errors filersc2005-01-301-0/+1
|
* change md argument to number etc. (which acted only as a flag)rsc2004-10-221-1/+1
| | | | | | | | | | to an actual flag. buffer underrun check in number add xdata file for exactly the addressed region save addr across opens
* undo the madness.rsc2004-04-211-3/+0
|
* $foo in tags - here only for reference.rsc2004-04-211-0/+3
|
* clean up when finished.rsc2004-04-191-0/+2
|
* SunOS can rot in hell.rsc2004-03-261-0/+1
|
* Today's changes.rsc2004-03-251-1/+4
| | | | More changes.
* Small tweaksrsc2004-03-211-0/+1
| | | | Lots of new code imported.
* Fighting the good fight.rsc2004-02-291-2/+3
| | | | | | | | | | | | Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
* More files related to user-level file servers.rsc2003-12-111-0/+92
Also add acme!