diff options
author | Russ Cox <rsc@swtch.com> | 2018-07-30 21:37:37 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2019-02-01 13:20:46 -0500 |
commit | 43f1873709d39405b55f676ef21c42065cc1408d (patch) | |
tree | c2ce6353e4ae68ad09a12f87acb12149770c99d8 /src/cmd/acme/edit.c | |
parent | 2607cc565ee3d5facb8949e9acfed35c8ae300c9 (diff) | |
download | plan9port-43f1873709d39405b55f676ef21c42065cc1408d.tar.gz plan9port-43f1873709d39405b55f676ef21c42065cc1408d.tar.bz2 plan9port-43f1873709d39405b55f676ef21c42065cc1408d.zip |
acme: drop trailing spaces during Put of auto-indent window
Auto-indent mode leaves trailing spaces on blank lines
as you type past them, so silently elide them from the
window content as it gets written back to disk.
Another option would be to remove them from the
window entirely during Put, but they're actually nice
to have while editing, and to date Put has never
modified the window content.
Diffstat (limited to 'src/cmd/acme/edit.c')
0 files changed, 0 insertions, 0 deletions