From fcd6b6f4f621e14cc14920475c511fa843a02bd3 Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Tue, 3 Oct 2023 01:56:59 +0200 Subject: [PATCH] Fix #112630: Skip grave and acute quotations when selecting Treat grave and acute accent characters as delimiters. Allows selection of words in the same way as if surrounded by double and single quotation marks. Pull Request: https://projects.blender.org/blender/blender/pulls/112652 --- source/blender/blenlib/intern/string_cursor_utf8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/blenlib/intern/string_cursor_utf8.c b/source/blender/blenlib/intern/string_cursor_utf8.c index e768a042628..bea1702eb7c 100644 --- a/source/blender/blenlib/intern/string_cursor_utf8.c +++ b/source/blender/blenlib/intern/string_cursor_utf8.c @@ -70,6 +70,8 @@ static eStrCursorDelimType cursor_delim_type_unicode(const uint uch) case '\'': case '\"': + case '\`': + case 0xB4: /* Acute accent. */ return STRCUR_DELIM_QUOTE; case ' ':