search: Update replace for elm_code selection code
That should be search and replace completely ported now
This commit is contained in:
parent
94642cac2d
commit
eee6e3c411
|
@ -110,7 +110,7 @@ _elm_code_widget_selection_delete_single(Elm_Code_Widget_Data *pd)
|
||||||
unsigned int old_length, length;
|
unsigned int old_length, length;
|
||||||
char *content;
|
char *content;
|
||||||
|
|
||||||
if (pd->selection->end_col <= pd->selection->start_col)
|
if (pd->selection->end_col < pd->selection->start_col)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
line = elm_code_file_line_get(pd->code->file, pd->selection->start_line);
|
line = elm_code_file_line_get(pd->code->file, pd->selection->start_line);
|
||||||
|
|
Loading…
Reference in New Issue