mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 20:43:40 +01:00
customdrawn: Fixes the utf8 chars filter
git-svn-id: trunk@33545 -
This commit is contained in:
parent
89cfff37ee
commit
8682e5b283
@ -1175,7 +1175,8 @@ begin
|
||||
// LCL-Carbon sends Backspace as a UTF-8 Char
|
||||
// LCL-Qt sends arrow left,right,up,down (#28..#31), <enter>, ESC, etc
|
||||
// Don't handle any non-char keys here because they are already handled in KeyDown
|
||||
if UTF8Key[1] in [#0..#$1F,#$7F..#$9F] then Exit;
|
||||
if (UTF8Key[1] in [#0..#$1F,#$7F]) or
|
||||
((UTF8Key[1]=#$c2) and (UTF8Key[2] in [#$80..#$9F])) then Exit;
|
||||
|
||||
DoDeleteSelection;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user