This commit is contained in:
parent
40cae5d2a5
commit
7b9870cebc
11 changed files with 66 additions and 25 deletions
|
|
@ -102,6 +102,7 @@ static void key(MwWidget handle, int code) {
|
|||
MwUTF8Copy(str, t->cursor + 1, out, t->cursor, MwUTF8Length(str) - (t->cursor + 1));
|
||||
|
||||
MwSetText(handle, MwNtext, out);
|
||||
MwDispatchUserHandler(handle, MwNchangedHandler, NULL);
|
||||
|
||||
free(out);
|
||||
} else if(code == MwLLKeyLeft) {
|
||||
|
|
@ -124,6 +125,7 @@ static void key(MwWidget handle, int code) {
|
|||
t->cursor++;
|
||||
|
||||
MwSetText(handle, MwNtext, out);
|
||||
MwDispatchUserHandler(handle, MwNchangedHandler, NULL);
|
||||
|
||||
free(out);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue