forked from enlightenment/edi
elm_code unicode: update when editing
issues here with inserting unicode which I need to get to
This commit is contained in:
parent
b392a21362
commit
8f668b2deb
|
@ -69,7 +69,10 @@ elm_code_line_text_insert(Elm_Code_Line *line, unsigned int position, const char
|
|||
}
|
||||
|
||||
line->modified = inserted;
|
||||
line->length = line->length + length;
|
||||
line->length += length;
|
||||
|
||||
// TODO update calculation
|
||||
line->unicode_length += length;
|
||||
|
||||
file = line->file;
|
||||
elm_code_callback_fire(file->parent, &ELM_CODE_EVENT_LINE_LOAD_DONE, line);
|
||||
|
|
Loading…
Reference in New Issue