Posted: 11.08.2017 20:15
Command from SynWrite "Fill block" - is still needed? Synwrite has not it (command dont work).
Discuss releases, report bugs and wishes
http://synwrite.sourceforge.net/forums/
The way it was supposed to work:Alexey wrote:Command from SynWrite "Fill block" - is still needed? Synwrite has not it (command dont work).
Scroll to Top, Scroll to Bottom. These work. BUT, the current line is scrolled to the line second-from-top, second-from-bottom, instead of being scrolled to actual top/bottom screen line. Perhaps this is an error in calculating the screen top/bottom line, or perhaps this is intended as some might consider this desirable? If it is intended, please make an option so that user can have it scroll to very top/bottom screen line. Thanks!Alexey wrote:Fixed in CudaExt https://github.com/kvichans/cuda_ext/issues/67
Pls "install from Github", repo https://github.com/kvichans/cuda_ext
and test 2 cmds.
Scroll Left, Scroll Right. These work. BUT, the cursor is left behind, so it is off-screen. If cursor is in column 1, and Scroll Right is applied, screen moves right 30? columns, but cursor is still in column 1--cursor should move right same amount (to column 31), so that cursor will still be in exactly same position on screen.
Very good question. I definitely feel it should be the first option above--each line filled as new. What do you think?kvichans wrote:qwerky
About filling of selection. What result you want if
- column selection have two rows with length eq 3,
- in dlg you enter "12".
Variants:
- "121" "121" - each row is filled as new.
- "121" "212" - continued
Code: Select all
"cuda_ext_vert_indent":0,
"cuda_ext_horz_scroll_size":30,
This command seems to work fine. As discussed, the inserted string is started fresh with each line--this seems correct to me; does anyone else feel the inserted string should wrap with each line?kvichans wrote:qwerky
Use "Install from Github..." to update plugin cuda_ext.
1. Test new command "CudaExt: Fill selection by string".
Note: the command skip a selection with EOL inside.
Tested both these options in user.json, and they work correctly; i.e. they correctly control the vertical indent, and the horizontal scroll size, respectively.2. Commands "Scroll current line to screen top/bottom" now have options for user.json.Code: Select all
"cuda_ext_vert_indent":0, "cuda_ext_horz_scroll_size":30,
I dont agree.qwerky wrote:Issue: horizontal scroll still leaves the cursor in its original column, which causes cursor to be off-screen; it should change the cursor column by the same amount as the configured scroll size, so that the cursor remains in the same relative position on the screen (cursor is always visible).
You are right that column position does not change when horizontal scrollbar is used, which is done with the mouse. Why do you think that the keyboard scroll commands should do the same?kvichans wrote:I dont agree.qwerky wrote:Issue: horizontal scroll still leaves the cursor in its original column, which causes cursor to be off-screen; it should change the cursor column by the same amount as the configured scroll size, so that the cursor remains in the same relative position on the screen (cursor is always visible).
1. Result of new scroll-commands is same (need be same) as clicking on horz-scrollbar (only shift size is diff).
Ah, perhaps here is where the misunderstanding occurs. I always use "allow cursor past end of line" so that the cursor can move anywhere freely. If you don't use that option, then you don't want your cursor to move past end of line when scrolling occurs. So perhaps when that option is turned off, so that the cursor is not allowed past end of line, the cursor should adjust to remain on-screen, until the end of line is reached, after which it should remain stationary even if off screen; but when that option is turned on, so that the cursor is allowed past end of line, then it is always kept on-screen? Is that more agreeable?2. There is problem to set caret to save "relative position": not all columns are available.