1grzyb1
78e8652387
VIM-741 Remove tab from vim only keys
...
Allow users to pass tab directly to IDE
2026-06-15 10:18:08 +02:00
1grzyb1
ac1f36a20d
Assert that painer is present in ouput panel
...
Without that tests sometimes failes as it was not created
2026-06-15 10:18:08 +02:00
1grzyb1
3df802eae5
VIM-2544 Adjust mockito test by new param
2026-06-12 11:00:08 +00:00
1grzyb1
8a9553d4d7
VIM-2544 Adjust option tests for new option
2026-06-12 11:00:08 +00:00
1grzyb1
b4f7aa4202
VIM-2544 Adjust line width by status pane
2026-06-12 11:00:08 +00:00
1grzyb1
76acd08388
VIM-2544 Implement max search count option
2026-06-12 11:00:08 +00:00
1grzyb1
9d8d146078
VIM-2544 Update search after moving caret
...
When we were updating match count in search highlit carret was still in old position which resulted in incorrect calculations
2026-06-12 11:00:08 +00:00
1grzyb1
90bea363a7
VIM-2544 show search count in output panel
...
Added new status label on output panel in which we display current search count
2026-06-12 11:00:08 +00:00
Matt Ellis
cdc943620b
Add extra border around output and ex panels
2026-06-12 06:24:51 +00:00
Matt Ellis
154be17456
Match Vim behaviour with long output
...
Keys for scrolling down should do nothing when scrolling is enabled for long output. Also adds some notes about 'nomore' behaviour and 'messagesopt' missing "hit-enter" (which can't be tested due to the async timeout).
2026-06-12 06:24:51 +00:00
Matt Ellis
6f67fdbe11
CTRL-C closes message area
2026-06-12 06:24:51 +00:00
Matt Ellis
f0c22272ff
Implement g< action to show last output
2026-06-12 06:24:51 +00:00
Matt Ellis
7c78f1a51e
Show hit-enter prompt for external commands
2026-06-12 06:24:51 +00:00
Matt Ellis
93040783a7
Accept : to start a new command during output
2026-06-12 06:24:51 +00:00
Matt Ellis
f21ebe046a
Support modeless selection and copy to clipboard
...
In both output panel and ex entry panel
2026-06-12 06:24:51 +00:00
Matt Ellis
cf2ea108ca
Extract common glass pane handling
2026-06-12 06:24:51 +00:00
Matt Ellis
c11eff4b16
Update the cursor while showing the output panel
2026-06-12 06:24:51 +00:00
Matt Ellis
e76c3bb792
Handle empty and blank text
...
Address VIM-4240
2026-06-12 06:24:51 +00:00
Matt Ellis
90b8e005ae
Support 'cmdheight' option for "single-line" output
2026-06-12 06:24:51 +00:00
Matt Ellis
ed3c84c610
Force text pane size to ensure lines are wrapped
...
Otherwise, on first use with 'nomore', wrapped lines are not calculated when we need to scroll to the end
2026-06-12 06:24:51 +00:00
Matt Ellis
4698576a63
Implement per-character line break
2026-06-12 06:24:51 +00:00
Matt Ellis
cbea98b0b8
Count wrapped lines
2026-06-12 06:24:51 +00:00
Matt Ellis
fbe9f0884d
Update prompt when scrolling with mouse
2026-06-12 06:24:51 +00:00
Matt Ellis
742f25bd1c
Animate scrolling in output panel
2026-06-12 06:24:51 +00:00
Matt Ellis
d6d5fdefd4
Skip IDE shortcut handling when panel is active
...
Important or the IDE will try to dispatch shortcuts such as `<BS>` while the panel is active
2026-06-12 06:24:51 +00:00
Matt Ellis
856ad4ff86
Update more prompt to match Vim text and behaviour
2026-06-12 06:24:51 +00:00
Matt Ellis
40064654e5
Remove unsupported left+right motions in pager
...
These don't appear to be Vim shortcuts at all
2026-06-12 06:24:51 +00:00
Matt Ellis
efeb6ec0f2
Do not reuse escape key when closing output panel
...
Unable to test, unfortunately
2026-06-12 06:24:51 +00:00
Matt Ellis
3c998a8da3
Do not reuse space key when closing output panel
2026-06-12 06:24:51 +00:00
Matt Ellis
7e3c745d38
Add helper functions for scrolling up
2026-06-12 06:24:51 +00:00
Matt Ellis
88efb6d4db
Simplify key handling
...
Also fixes incorrect behaviour passing 'q' to editor when at hit-enter prompt, and processing Enter twice, scrolling two lines instead of one (this isn't possible to test, sadly, it depends on Swing key event handling)
2026-06-12 06:24:51 +00:00
Matt Ellis
ce9d3bce94
Fix 'nomore' scroll implementation
2026-06-12 06:24:51 +00:00
Matt Ellis
73fbc7681c
Clear single-line message after timeout
...
Introduces the `'messagesopt'` option, plus handling of options that are key/value pairs + flags
2026-06-12 06:24:51 +00:00
Matt Ellis
5638e7296c
Remove unncessary parseKeys calls
2026-06-12 06:24:51 +00:00
Matt Ellis
c41f82cb7c
Clear single line message when mode changes
2026-06-12 06:24:51 +00:00
Matt Ellis
00900dd03f
Clear single line message with Escape
2026-06-12 06:24:51 +00:00
Matt Ellis
dbc81e734b
Prevent clearing message at same time as it's set
2026-06-12 06:24:51 +00:00
Matt Ellis
da6befdb60
Include output panel when checking scroll height
2026-06-12 06:24:51 +00:00
Matt Ellis
51514c111a
Hide output panel when redrawing status line
...
We "redraw" the status line at various times (explicit `<C-L>` redraw, scrolling, etc.). Previously, this would clear the status bar, but now that some messages and output use a persistent single line output panel, we make sure to close the output panel too
Fixes VIM-4230
2026-06-12 06:24:51 +00:00
Matt Ellis
5fefedd5ed
Add tests for output panel
...
Changes to UnknownCommand are due to a test for output panel with an unknown command that was returning a string with a trailing space.
2026-06-12 06:24:51 +00:00
Matt Ellis
c678146025
Get editor's scroll pane using API if possible
2026-06-12 06:24:51 +00:00
Matt Ellis
77ef75e8f2
Use proper top and bottom border insets
...
Means baseline of output panel matches ex entry panel. Also fixes offset when scrolling down a page meaning new top line is correctly positioned
2026-06-12 06:24:51 +00:00
Matt Ellis
816e0af60c
Move key handling logic to inner class
2026-06-12 06:24:51 +00:00
Matt Ellis
ff517e1fe8
Small refactorings and cleanup
2026-06-12 06:24:51 +00:00
Matt Ellis
1e7c8c50cf
Use proper helper function to assert ex output
2026-06-12 06:24:51 +00:00
Matt Ellis
cdb9d595bc
Remove unnecessary APIs from thin API
...
There is no reason for a caller (presumably an extension) to need to know what the text of the output panel is, or to get/set the prompt text
2026-06-12 06:24:51 +00:00
Matt Ellis
a579c87bfa
Remove unnecessary APIs from interface
2026-06-12 06:24:51 +00:00
Matt Ellis
9a94e2b33c
Use simpler API to show output panel
2026-06-12 06:24:51 +00:00
1grzyb1
781f8101f8
VIM-4250 preserve cursor pistion with one column diff
...
when going jk between lines with just 1 column difference and going back it moved one column before.
It was due to not normilzed offset so when doing k went to AbsoulteOffset and didn't save last column position
2026-06-11 08:50:42 +00:00
Matt Ellis
a222cf0464
Fix output of maps when prefix match fails
2026-06-10 10:21:52 +00:00