summaryrefslogtreecommitdiff
path: root/test/normal/insert-replace/cmd
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-06-08 10:54:11 +0200
committerMaxime Coste <mawww@kakoune.org>2018-06-11 15:10:30 +1000
commit539832bf29c27841490d1679c34bd956d1855a55 (patch)
treeb8e8dcf9fd1e8b9bb962c5c7f165a697244139a4 /test/normal/insert-replace/cmd
parent60cf71bc2435762467dc9b43d99ee687a7306480 (diff)
Add position offset to Window to limit moves with search menu style
Window can be resized with an "offset_pos" flag, which means that the resize took place on the top left corner of the window, leading to a change in current window position. This is treated as temporary and the position change is stored in a m_position_offset field. That allows the ncurses UI to offset the position when it displays a Search menu, so that the window does not constantly scroll when the search menu open/closes. The window will only scroll if it needs to in order to keep the main selectin visible.
Diffstat (limited to 'test/normal/insert-replace/cmd')
0 files changed, 0 insertions, 0 deletions