Mercurial > vim
view src/testdir/dumps/Test_popupwin_matches.dump @ 18542:244b336b94ce v8.1.2265
patch 8.1.2265: when popup with "botleft" does not fit it flips incorrectly
Commit: https://github.com/vim/vim/commit/638a4a7508082f8700b135953e4f9465f675a0f5
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 6 19:25:22 2019 +0100
patch 8.1.2265: when popup with "botleft" does not fit it flips incorrectly
Problem: When popup with "botleft" does not fit it flips incorrectly.
Solution: Only flip when there is more space on the other side. Add the
"posinvert" option to disable flipping and do it in both
directions if enabled. (closes #5151)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 06 Nov 2019 19:30:03 +0100 |
parents | 04a40c1514c4 |
children |
line wrap: on
line source
|1+0#ffffff16#e000002@2| +0#0000000#ffffff0|2@2| |3@2| @63 >4+0#4040ff13&@2| +0#0000000&|5@2| |6+0&#ffff4012@2| +0&#ffffff0@63 |~+0#4040ff13&| @7|╔+0#0000001#ffd7ff255|═@10|╗| +0#4040ff13#ffffff0@52 |~| @7|║+0#0000001#ffd7ff255|1+0#ffffff16#e000002@2| +0#0000001#ffd7ff255|2@2| |3@2|║| +0#4040ff13#ffffff0@52 |~| @7|║+0#0000001#ffd7ff255|4@2| |5+0#4040ff13&@2| +0#0000001&|6@2|║| +0#4040ff13#ffffff0@52 |~| @7|╚+0#0000001#ffd7ff255|═@10|╝| +0#4040ff13#ffffff0@52 |~| @73 |~| @73 |~| @73 | +0#0000000&@56|2|,|1| @10|A|l@1|