forked from enlightenment/edi
Revert "editor: fix multiline comment syntax highlighting."
This should be handled within the widget itself, far too hacky to do it like this. Reverting this badnes.
This commit is contained in:
parent
808572894e
commit
af1ff5608d
|
@ -176,10 +176,6 @@ _changed_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUS
|
|||
ecore_timer_reset(editor->save_timer);
|
||||
else if (_edi_config->autosave)
|
||||
editor->save_timer = ecore_timer_add(EDI_CONTENT_SAVE_TIMEOUT, _edi_editor_autosave_cb, editor);
|
||||
|
||||
// TODO: add method to elm_code to refresh syntax.
|
||||
if (!_edi_config->autosave)
|
||||
elm_code_widget_syntax_enabled_set(editor->entry, EINA_TRUE);
|
||||
}
|
||||
|
||||
static char *
|
||||
|
|
Loading…
Reference in New Issue