Файли
openidea/docs/en
l0ng-ai b9fa19edf8 feat(plugins): tell plugins which editor lines are on screen (API 1.21)
text-editor.visible-lines (editor.read) returns the first and last document
line shown in the editor when the command or event was invoked, or none when
the editor is not on screen. The workbench fills it from the focused editor
view with the rest of the plugin editor context; older clients leave it out.
The SDK wraps it as TextEditor::visible_lines and MockHost::set_visible_lines
sets it in tests.
2026-12-04 15:11:26 +08:00
..