add a quick hack that does enough to make Alt-Up work, but would mean rewriting other editing stuff