UI: Recognize CJK punctuation when selecting text #112852

Merged
Harley Acheson merged 4 commits from ChengduLittleA/blender:chinese_punctuations into blender-v4.0-release 2023-10-04 21:08:21 +02:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit dd1116f83a - Show all commits

View File

@ -72,6 +72,8 @@ static eStrCursorDelimType cursor_delim_type_unicode(const uint uch)
case '*':
case '&':
case '|':
case 0xFF0F: /* Chinese full width solidus () */
case 0x2014: /* Chinese dash */
case 0xFF5E: /* Chinese `~` () */
case 0x300A: /* Chinese `<>` (《》) */
case 0x300B:
@ -102,6 +104,8 @@ static eStrCursorDelimType cursor_delim_type_unicode(const uint uch)
case 0x80: /* euro */
case 0xA3: /* pound */
case 0x80: /* euro */
Harley marked this conversation as resolved Outdated

You've accidentally duplicated the two lines above

You've accidentally duplicated the two lines above
case 0xFF64: /* Chinese `、` */
case 0xFF65: /* Chinese/Katakana middle dot (・) */
case 0xFF1A: /* Chinese colon */
case 0xFF1B: /* Chinese semicolon */
case 0xFF1F: /* Chinese question mark */