ITADN

Autoscroll doesn't work past the end of buffer when using clojure_sublimed_insert_newline

#135Closedchandra-sekar 创建于 2025-04-05
C
chandra-sekarcommented
I have set the `enter` keybinding to execute `clojure_sublimed_insert_newline`. When I hit enter towards the end of the buffer, it does not autoscroll the buffer and my cursor disappears. I have to scroll the buffer manually to see the cursor again. Steps to reproduce: - Enable the `enter` keybinding by adding this to sublime keybindings ``` { "keys": ["enter"], "command": "clojure_sublimed_insert_newline", "context": [ { "key": "selector", "operator": "equal", "operand": "source.edn | source.clojure" }, { "key": "auto_complete_visible", "operator": "equal", "operand": false }, { "key": "panel_has_focus", "operator": "equal", "operand": false } ] } ``` - Move your cursor to the bottom of the buffer and hit enter a few times to see the cursor disappear With the keybinding: ![Image](https://github.com/user-attachments/assets/25cb7946-8e79-4967-b2e9-ceffc914264e) Without the keybinding: ![Image](https://github.com/user-attachments/assets/0df05ca4-81f2-4355-b3c9-ead19258b23d)
关闭于 2025-04-06 2 条评论