Merge branch 'blender-v3.6-release'
This commit is contained in:
commit
2d91ebe780
|
@ -1270,7 +1270,7 @@ static int console_selectword_invoke(bContext *C, wmOperator *UNUSED(op), const
|
||||||
if (console_line_column_from_index(sc, pos, &cl, &offset, &n)) {
|
if (console_line_column_from_index(sc, pos, &cl, &offset, &n)) {
|
||||||
int sel[2] = {n, n};
|
int sel[2] = {n, n};
|
||||||
|
|
||||||
BLI_str_cursor_step_bounds_utf8(cl->line, cl->len, n, &sel[0], &sel[1]);
|
BLI_str_cursor_step_bounds_utf8(cl->line, cl->len, n, &sel[1], &sel[0]);
|
||||||
|
|
||||||
sel[0] = offset - sel[0];
|
sel[0] = offset - sel[0];
|
||||||
sel[1] = offset - sel[1];
|
sel[1] = offset - sel[1];
|
||||||
|
|
Loading…
Reference in New Issue