mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
allow unicode-insert 0x20
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18854 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0ebfa36965
commit
7a58f8a1d9
@ -973,7 +973,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
docstring hexstring = cmd.argument();
|
||||
if (lyx::support::isHex(hexstring)) {
|
||||
char_type c = lyx::support::hexToInt(hexstring);
|
||||
if (c > 32 && c < 0x10ffff) {
|
||||
if (c >= 32 && c < 0x10ffff) {
|
||||
lyxerr << "Inserting c: " << c << endl;
|
||||
docstring s = docstring(1, c);
|
||||
lyx::dispatch(FuncRequest(LFUN_SELF_INSERT, s));
|
||||
|
Loading…
Reference in New Issue
Block a user