mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 17:59:22 +02:00
Improves the filter for LCL-Qt chars
git-svn-id: trunk@33544 -
This commit is contained in:
parent
1d766bf63e
commit
89cfff37ee
@ -1175,7 +1175,7 @@ begin
|
|||||||
// LCL-Carbon sends Backspace as a UTF-8 Char
|
// LCL-Carbon sends Backspace as a UTF-8 Char
|
||||||
// LCL-Qt sends arrow left,right,up,down (#28..#31), <enter>, ESC, etc
|
// 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
|
// Don't handle any non-char keys here because they are already handled in KeyDown
|
||||||
if UTF8Key[1] in [#0..#31] then Exit;
|
if UTF8Key[1] in [#0..#$1F,#$7F..#$9F] then Exit;
|
||||||
|
|
||||||
DoDeleteSelection;
|
DoDeleteSelection;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user