ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=675bcb51ea6b2c2f0934fb77006b3de2cff4d42d

commit 675bcb51ea6b2c2f0934fb77006b3de2cff4d42d
Author: Andy Williams <a...@andywilliams.me>
Date:   Mon Apr 13 00:15:21 2015 +0100

    elm_code: retain line formatting on file callback
    
    We don't need to reset all the lines in file load - just clear
---
 elm_code/src/lib/elm_code_parse.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/elm_code/src/lib/elm_code_parse.c 
b/elm_code/src/lib/elm_code_parse.c
index 02c878a..408fd48 100644
--- a/elm_code/src/lib/elm_code_parse.c
+++ b/elm_code/src/lib/elm_code_parse.c
@@ -37,13 +37,6 @@ _elm_code_parse_file(Elm_Code *code, Elm_Code_File *file)
 {
    Elm_Code_Parser *parser;
    Eina_List *item;
-   Elm_Code_Line *line;
-
-   EINA_LIST_FOREACH(file->lines, item, line)
-     {
-        elm_code_line_tokens_clear(line);
-        elm_code_line_status_clear(line);
-     }
 
    EINA_LIST_FOREACH(code->parsers, item, parser)
      {

-- 


Reply via email to