lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

Can't move cursor in `lsp-ui-imenu` through wrapped lines

Open bertulli opened this issue 2 years ago • 1 comments

Hi all! First of all, thank you for your amazing work.

I noticed that when invoking lsp-ui-imenu, point can be moved using the usual next-line/previous-line. However, this won't work if I need to jump over a wrapped line. For instance, in this project image I can move freely between the first 4 lines (from Context class to HandleComment bool), but C-n won't point me to ~CommentHandler (jumping after where you see the cursor). Neither the arrow keys work, and I can reproduce this with lsp-start-plain.

Is this normal? If so, how can I change this behavior? Thanks!

(My Emacs is GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-31, lsp-mode is LSP :: lsp-mode 20221013.1343, Emacs 29.0.50, gnu/linux)

bertulli avatar Oct 22 '22 15:10 bertulli

Ah! This is my problem. I thought it wasn't possible to move the cursor at all, but in fact it just seems like that because all my lines are wrapped.

landtuna avatar May 09 '23 12:05 landtuna