elm_code unicode: update when editing

issues here with inserting unicode which I need to get to
This commit is contained in:
Andy Williams 2015-03-07 22:35:59 +01:00
parent b392a21362
commit 8f668b2deb
1 changed files with 4 additions and 1 deletions

View File

@ -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);