about summary refs log tree commit diff
path: root/buffer.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-26 22:33:16 -0500
committerJune McEnroe <june@causal.agency>2021-01-26 22:33:16 -0500
commitd7d4572220b234e6774d53b8e893c20e4ff55591 (patch)
treed9fb8e7aad05ba240d74e2628a7d552d5ae4667b /buffer.c
parentAdd numbers to buffer lines (diff)
downloadcatgirl-d7d4572220b234e6774d53b8e893c20e4ff55591.tar.gz
catgirl-d7d4572220b234e6774d53b8e893c20e4ff55591.zip
Preserve scroll position across reflows
Finally! Changing the message visibility threshold doesn't totally
screw up scroll position. Neither do horizontal resizes, but vertical
resizes drift because the value of windowTop() changes before and
after...

The scroll position is anchored to the top of the window. It's
arbitrary whether to anchor the top or the bottom, but other scrolling
commands like M-p and C-r are anchored to the top, so this is
consistent.
Diffstat (limited to 'buffer.c')
0 files changed, 0 insertions, 0 deletions
2018-02-04 11:42:54 -0500'>2018-02-04Add Quit menu item to gfcocoaJune McEnroe 2018-02-04Switch back to sane Objective-C styleJune McEnroe 2018-02-04Quit gfcocoa when window closesJune McEnroe 2018-02-03Apparently this is how people write Objective-CJune McEnroe