Cannot mouse-drag beyond viewport in Cuda

Solved bugs are moved into this topic...
Post Reply
Stefan
Posts: 112
Joined: 06.10.2012 15:06

Cannot mouse-drag beyond viewport in Cuda

Post by Stefan »

Say I want to select paragraphs that are outside what's currently visible. When I drag the selection further up and down, the viewport does not scroll, I cannot get there. Only by selecting with Shift+arrow keys, but not with the mouse.

I am on Win7 at the moment. It does work in Synwrite, though, and in other programs, too.
Maybe a Cuda-setting I have to change?
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

My video, on linux. all works. (I will check Win10 later.)
http://uvviewsoft.com/c/Kazam_00000.webm
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

tested on Win7 x64 too - all works like on linux. can you show video with a problem?
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

maybe value of option is too low?

"mouse_scroll_speed_vert" (here it is 1).
Mouse scrolling speed, when selection is dragged out of editor top/bottom edge.
Note: this option is global, not per-lexer.
Stefan
Posts: 112
Joined: 06.10.2012 15:06

Post by Stefan »

Thanks for your suggestions. Still cannot get it to work, though.
I cranked up "mouse_scroll_speed_vert" to 6, I tried all kinds of other mouse and select related settings, (mouse 2click drag select, etc...) but no luck.

Well, I can still select with the keyboard, and also by Shift-clicking the upper od lower boundary (after first scrolling there) — so I am fine for now.

Will try it on other systems over the next weeks and report back, if the problem persists on other machines and OS.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

1. problem persists on all files? or only some?
2. please send me your Cud folder (excluding .exe .dll .pyd .zip files). with 'settings' and 'py' and 'data'.
mail: support(at)uvviewsoft.com
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

got your files.
found the culprit option:

"mouse_column_selection" : false,

will try to fix it.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

was very easy to find + fix. will be ok in the next update. (currently just delete the culprit option.)
Stefan
Posts: 112
Joined: 06.10.2012 15:06

Post by Stefan »

Big sigh of relief.
I was afraid I would have to backtrace all my steps to find where I went wrong. So glad you could solve it.

And hey, thanks for the hint with "newdoc_lexer" : "Markdown"
I am still in the process of moving from Syn to Cud, and lexers have never been my strong point. :oops: Must get a better grip on it.
Post Reply