This is on the back of making Geany behave [more like 
RStudio](http://wiki.geany.org/howtos/using_geany_with_r?s[]=rstudio) for 
interactive use with things like R or Python. 

While now it is easy to “Send selection to terminal” (by setting 
`send_selection_unsafe=true` in `geany.conf` and assigning a key binding), 
after the line is sent the cursor doesn't move. In RStudio the cursor is being 
moved at the beginning of the next line. While the interest of this behavior 
will go down to preference, having used it for some time I find it useful. 

Thus it would help to have a  `move_down_after_send_selection=true` option, 
which would: 
- when the cursor is on a line and nothing is currently selected, after 
"sending selection to terminal" (i.e. the current line) move the cursor one 
line down at the beginning of that line
- when there is a selection, whether on a line or spanning several lines, after 
"sending selection to terminal" do nothing with the cursor and maintain current 
selection (i.e. current behavior)
- (optional) when the next (few) line(s) is (are) empty, then move cursor to 
the next line that is not empty. Personally I never got along with this, so not 
sure if it's a good idea to implement, but this is how RStudio works right now. 

This would make things friendlier for those using R or Python in interactive 
mode. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1407

Reply via email to