move_lines


Description:

[ Version ( since = "2.10" ) ]
public virtual signal void move_lines (bool copy, int step)

The move_lines signal is a keybinding which gets emitted when the user initiates moving a line.

The default binding key is Alt+Up/Down arrow. And moves the currently selected lines, or the current line by count. For the moment, only count of -1 or 1 is valid.

The copy parameter is deprecated, it has never been used by GtkSourceView (the value is always false) and was buggy.

Parameters:

copy

true if the line should be copied, false if it should be moved. This parameter is deprecated and will be removed in a later version, it should be always false.

count

the number of lines to move over. Only 1 and -1 are supported.




2022 vala-language.org