Commit Graph

23 Commits

Author SHA1 Message Date
Andy Williams dc2e25fbb6 Refactor the widget token parsing so we can put it under test. Add simple test that demonstrates tokens split by space. 2014-11-13 23:26:30 +00:00
Andy Williams d568992493 A little more markup to the diff example with character add/rem/change highlighting 2014-11-13 21:51:23 +00:00
Andy Williams f7e0ad9dd8 Add a simple token system to allow us to render some text styles 2014-11-13 21:34:47 +00:00
Andy Williams 269409f5cd Add a file load callback also - respect that with a widget refresh when called 2014-11-12 22:59:05 +00:00
Andy Williams 6465de9ca6 Fix compilation of tests 2014-11-12 14:05:56 +00:00
Andy Williams 0e901e5352 Fix the types of Eo Events - addresses lots of compiler warnings 2014-11-09 21:53:30 +00:00
Andy Williams 1a2f4d1ad4 Fixing some warnings. Not ideal handling of the Eo_Event_Description but it's less warn-tastic 2014-11-09 18:07:03 +00:00
Andy Williams a3e6ec6876 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 2796024005 Take line coloring to the end of the line 2014-11-09 00:47:00 +00:00
Andy Williams d110515fb1 Passing Eo events from Elm_Code to the Evas_Object when the backend data changes. Track a list of all widgets connected to the Elm_Code so we can signal them all. Add API to change status of a line which will refresh the widget too. 2014-11-06 23:43:56 +00:00
Andy Williams b1d1e370ec Add a simple elm_code_test binary that loads the widget and inserts some demo text 2014-11-05 13:55:37 +00:00
Andy Williams 1c314d9312 Fix a crash when resizing if the file is longer than the viewport 2014-11-05 13:36:54 +00:00
Andy Williams 87d360b43f Adding some initial concept of status flags for a line and default enum to start working on color pallette in our widget. Load enough colors to provide these statuses and hook into the EDI log panel implementation 2014-11-05 00:01:28 +00:00
Andy Williams 80373debf7 Add an initial stab at an elm_code widget. It currently does not refresh at any time other than load or resize, so is not respecting content updates, but it's a start.
Use it in place of the list of elm_label objects that were rendered in the log panel. Not colour highlighted yet, but one thing at a time.
2014-11-04 22:21:49 +00:00
Andy Williams 7ed960fc52 Allow appending of lines to an Elm_Code_File, allow Elm_Code_File objects to be created empty without reading from a filesystem source 2014-11-04 21:05:29 +00:00
Andy Williams a767095339 Add basic structure for elm_code object - namespacing the elm_code_file properly to keep it clean 2014-10-26 22:47:27 +00:00
Andy Williams ce501b64c2 Add some documentation grouping 2014-10-26 22:08:52 +00:00
Andy Williams 9fcb769ba3 Update tests to use the proper api check 2014-10-21 22:28:12 +01:00
Andy Williams 4584abf84c warning-- 2014-10-21 22:27:10 +01:00
Andy Williams 3629995847 Load the content and verify from our test files.
Includes an eina_file_map_lines workaround for blank lines
2014-10-19 22:33:49 +01:00
Andy Williams 15bc74b80a Load lines sequentially and insert to a structure for reference 2014-10-19 22:29:44 +01:00
Andy Williams 6846385d44 A pretty slim test of file loading and initial path apis 2014-10-17 23:36:07 +01:00
Andy Williams 997b338270 Base addition of elm_code area within the edi codebase, including an empty test to verify it's working 2014-10-17 21:36:03 +01:00