Skip to content

Commit

Permalink
Add the typographer’s apostrophe (U+2019) to the set of
Browse files Browse the repository at this point in the history
punctuation characters. Currently, the search field (a.k.a. jump to) does not allow entering this apostrophe because it is neither recognized as alphanumeric nor as punctuation character.
  • Loading branch information
bohning committed Dec 21, 2023
1 parent f8fa4fb commit 5f342e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/UUnicodeUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function IsPunctuationChar(ch: WideChar): boolean;
begin
// TODO: add chars > 255 (or replace with libxml2 functions?)
case ch of
' '..'/',':'..'@','['..'`','{'..'~',
' '..'/',':'..'@','['..'`','{'..'~',widechar($2019),
#160..#191,#215,#247:
Result := true;
else
Expand Down

0 comments on commit 5f342e4

Please sign in to comment.