Commit Graph

9 Commits

Author SHA1 Message Date
Andy Williams ba42d32d5e Add a simple diff widget based on an incoming diff file.
Load that into edi if we load a diff or patch file
2014-11-22 22:36:57 +00:00
Andy Williams 586bbb41aa Add an option to change the font size of our widget
demonstrate in the test and use it to make the logs more readable in edi
2014-11-22 19:14:53 +00:00
Andy Williams 822ef10934 Actually use the eina_file memory mapping
Any appended or modified lines need to be stored seperately.
Always check for modified content before using the memory map from the
backing file.
2014-11-19 22:39:00 +00:00
Andy Williams f8896b1f54 Fix minor issues I saw in passing 2014-11-19 22:37:00 +00:00
Andy Williams d6da31acf3 Add parse hooks for lines and files within elm_code.
This required changing the load order so file opens would read the elm_code->parsers setup. This makes for a better setup anyhow
2014-11-16 23:52:41 +00:00
Andy Williams 227c883b65 A little more markup to the diff example with character add/rem/change highlighting 2014-11-13 21:51:23 +00:00
Andy Williams 99e6dfbbd9 Add a simple token system to allow us to render some text styles 2014-11-13 21:34:47 +00:00
Andy Williams f8a92218da Add some simple version control status for lines too.
Add a simple display of how that could work to elm_code_tesst
2014-11-09 14:44:35 +00:00
Andy Williams 051e03ba99 Add a simple elm_code_test binary that loads the widget and inserts some demo text 2014-11-05 13:55:37 +00:00