From 51a8fee84f8bbb70c1958b64e80802b1f51936e9 Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Thu, 21 Sep 2023 12:17:14 +0530 Subject: [PATCH 1/2] Fix #112630: Skip grave quotation when selecting Like single and double quote, skip grave chars when double selecting --- source/blender/blenlib/intern/string_cursor_utf8.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/blenlib/intern/string_cursor_utf8.c b/source/blender/blenlib/intern/string_cursor_utf8.c index 2c1abae859a..a86ac20b474 100644 --- a/source/blender/blenlib/intern/string_cursor_utf8.c +++ b/source/blender/blenlib/intern/string_cursor_utf8.c @@ -70,6 +70,7 @@ static eStrCursorDelimType cursor_delim_type_unicode(const uint uch) case '\'': case '\"': + case '\`': return STRCUR_DELIM_QUOTE; case ' ': -- 2.30.2 From 58e5750202e4d695b0d545cb5fad9dbd31b3e01f Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Tue, 26 Sep 2023 16:29:55 +0530 Subject: [PATCH 2/2] Include acute accent --- source/blender/blenlib/intern/string_cursor_utf8.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/blenlib/intern/string_cursor_utf8.c b/source/blender/blenlib/intern/string_cursor_utf8.c index a86ac20b474..a9d8a308148 100644 --- a/source/blender/blenlib/intern/string_cursor_utf8.c +++ b/source/blender/blenlib/intern/string_cursor_utf8.c @@ -71,6 +71,7 @@ static eStrCursorDelimType cursor_delim_type_unicode(const uint uch) case '\'': case '\"': case '\`': + case 0xB4: /* Acute accent. */ return STRCUR_DELIM_QUOTE; case ' ': -- 2.30.2