From af1ff5608d3fd18755d9a305dfebb2f78e4f161b Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Thu, 6 Sep 2018 17:38:09 +0100 Subject: [PATCH] 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. --- src/bin/editor/edi_editor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bin/editor/edi_editor.c b/src/bin/editor/edi_editor.c index d82946f..2b470d3 100644 --- a/src/bin/editor/edi_editor.c +++ b/src/bin/editor/edi_editor.c @@ -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 *