Commit Graph

78 Commits

Author SHA1 Message Date
Andy Williams a28e199c72 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 83c0e231ec 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 863a4a47a2 Update the syntax highlighting to work after text set - thanks a lot to herdsman for the initial patch 2014-10-23 21:14:46 +01:00
Andy Williams f7336e9276 fix syntax mistake after changing markup type 2014-10-22 22:43:32 +01:00
Andy Williams 95958caa31 Warn if the passed parameter is not a valid project location.
Currently EDI can only open existing directories or create them - no single file mode
2014-10-22 22:41:23 +01:00
Boris Faure 8fadf10987 fix some compiler warnings 2014-10-22 21:16:17 +02:00
Boris Faure d671a68877 use waitpid() instead of wait() 2014-10-22 21:09:41 +02:00
Andy Williams 76675f6298 Use the recommended formatting for colour, avoid font weight right now as it doesn't stack properly 2014-10-21 14:26:46 +01:00
Andy Williams 5402a5921f Using the +/- format application to remove bold etc where used.
This requires a patch from herdsman to evas to work effectively
2014-10-20 23:20:14 +01:00
Andy Williams 16ca047e64 Disable a broken test for now - we're focussing on testing elm_code at the moment 2014-10-17 23:43:43 +01:00
Andy Williams 174210cb02 Trying some slight optimisations for highlighting 2014-10-16 20:47:57 +01:00
Andy Williams ae9990f06c Tweaking syntax a little to have 1) less vivid comments and 2) the same colour for macro introducing punctuation characters as the macro they introduce 2014-10-12 13:34:41 +01:00
Andy Williams 263b3da155 Fix scrolling to added line in console panel.
Scroll to the bottom manually rather than relying on gravity
2014-10-12 13:06:23 +01:00
Andy Williams 84b25a2090 Implement the colouring of code based on the clang parser.
Has some issues with performance and failing on large files which need to be looked into.
2014-10-10 13:43:54 +01:00
Andy Williams f11369a361 Merge the clang syntax highlight parsing work from edi PROTO.
That's the parsing complete but I need to hook it into style the elm_entry widget...
2014-10-09 00:06:55 +01:00
Andy Williams d40c220e68 Add basic creation of new projects using the skeleton tool 2014-09-28 23:45:33 +01:00
Andy Williams 9ac976aa17 Add mime or requested type to text editor status bar.
Some refactoring to start splitting out file management from UI
2014-09-13 16:48:16 +01:00
Andy Williams 85661fc2a6 Add/remove the serch panel as elm calculations are not working if we just how / hide 2014-07-19 20:28:14 -07:00
Andy Williams c9d52cda28 Fix new window sizing following the layout changes 2030-07-13 03:06:54 +01:00
Andy Williams a25b043761 Move search UI into a panel at the top of the editor.
Correct search to work across multiple tabs within one Edi instance. Fix various issues around searc.
2030-07-12 21:12:05 +01:00
Andy Williams 21a5f2b1b4 reducing complexity a little 2030-07-10 00:04:01 +01:00
Andy Williams 64862ac5f1 Adding a status bar to editors, currently displaying line & col info 2030-07-10 00:03:26 +01:00
Andy Williams 6a6851fd4a Initial welcome screen, working on adding the create project support 2014-06-29 23:54:29 +01:00
Andy Williams 961f65d910 Update line numbers to be the same length as content to better match the rows.
Still has an issue with very long files, but that's being investigated
2014-06-15 22:54:08 +01:00
Andy Williams 04a8a274a0 Correct the lining up of numbers, still a little off for scale=2, not sure why 2014-06-07 23:29:03 +01:00
Andy Williams d90d0e3c94 Adding line numbers to the text editor.
Not the prettiest approach right now, but we've got a scrolling list of lines that stays aligned with the text scroll
2014-06-07 21:50:14 +01:00
Andy Williams db613fe6ea scroll to the line not the cursor 2014-06-07 21:44:04 +01:00
Andy Williams 43871e9a0c kill warning about ignored return 2014-05-18 23:00:10 +01:00
Andy Williams ce8b9a8b93 Scale windows per elm scale configuration 2014-05-19 23:52:50 +01:00
Andy Williams c54eb7b6f2 Tidying up lots of warnings and fixing issues along the way 2014-05-19 19:19:12 +01:00
Andy Williams c3185b2225 Let's open files that are reported on the console.
Adding support to open at a specific line when
opening files or switching tabs.
2014-05-18 21:26:49 +01:00
Andy Williams a3a4f5fce6 Added basic undo support - thanks to ecrire (Tasn) for the undo_redo_do function 2014-05-15 23:25:25 +01:00
Andy Williams d2117bac25 Begin factoring out the text editor from the mainview code 2014-05-15 22:40:19 +01:00
Andy Williams dd4759d1b1 Scroll found text onto screen even horizontally.
A few other minor search enhancements
2014-03-15 13:17:24 +00:00
Andy Williams eb38d77af9 Added goto line feature, hook in ctrl-f for search (find...) 2014-03-15 13:12:34 +00:00
Andy Williams 3deedfeeb8 Added simple search function based on Ecrire's Find/Replace 2014-04-30 23:06:16 +01:00
Andy Williams 2cc8377169 re-add to match sentinal 2014-04-27 22:31:36 +01:00
Andy Williams 70b2d3144f Add some more testing too 2014-04-27 22:31:19 +01:00
Andy Williams 6a61c633b9 Fix some warnings 2014-04-27 21:01:42 +01:00
Andy Williams faf86b73bb Add icons to the console output that display next to warnings / errors etc 2014-04-27 21:01:30 +01:00
Andy Williams 4fd8358929 Fix builds when running from a different directory 2014-04-27 21:00:09 +01:00
Andy Williams cf0573557f remember to remember the path 2014-04-27 18:43:15 +01:00
Andy Williams 75d5ac790c Added edi_build command line application for headless operation 2014-04-27 18:31:08 +01:00
Andy Williams 5eff36e8e8 Actually use our library for building. Support ./configure and ./autogen.sh. Move some common functions to the library too 2014-04-27 17:36:20 +01:00
Andy Williams 40c206849e Simple make function invoked from a build button and displayed in a console tab next to logs 2014-04-27 16:57:47 +01:00
Andy Williams 7b6cd95592 Add a new file button to create new files 2014-03-31 22:24:56 +01:00
Andy Williams 6a64fd9546 Key bindings. Ctrl-s triggers save, ctrl-prior and ctrl-next cycle through open tabs 2014-03-26 16:50:00 +00:00
Andy Williams cd8954c69a Allow the mime popup to cover the whole window 2014-03-14 13:44:09 +00:00
Andy Williams 97f95aaa17 Add buttons that extend the area that's tappable to show the panels 2014-03-14 13:43:34 +00:00
Andy Williams 89af681bb1 Add icons to the file type picker 2014-03-14 11:42:08 +00:00