Commit Graph

161 Commits

Author SHA1 Message Date
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
Andy Williams e1f363783d Add a simple content type picker if the mime is not recognised 2014-03-14 10:30:36 +00:00
Andy Williams cecc51cd90 Use panel overlays so we can slide in the extra content 2014-03-14 09:41:09 +00:00
Andy Williams c2e20c1132 Add the app name to the title of the file windows 2014-03-13 18:48:28 +00:00
Andy Williams 90b2389a74 Manage open-in-new-window requests for files or open tabs. When selecting a file that is in a window raise the window rather than selecting the tab 2014-03-13 18:31:24 +00:00
Andy Williams c25bab1220 Use more standard icons 2014-03-13 16:34:05 +00:00
Andy Williams aacba8c61a Make the text editable even on latest elementary 2014-02-26 10:06:54 +00:00
Andy Williams c50d52e89a Track tabs and content together to fix the sync bug.
Using a new strut we can track more info about each item that we're displaying
2014-02-26 09:13:28 +00:00
Andy Williams d8e430285a Remove the extra callback, we can just make type a required parameter that can be null 2014-02-26 08:17:44 +00:00
Andy Williams 17b90a8876 Add an open-as menu so we can override the mime type detection
The mime / type registration requires some work - there are a few magic values here that need to be formalised
2014-02-26 07:28:24 +00:00
Andy Williams 16017019b3 Add actual log output to the log panel.
Using Eina_Log we hook in a custom print function that adds lines to our log UI.
2014-02-26 04:32:12 +00:00
Andy Williams a68260fa23 Add an image preview type as well - why not 2014-02-22 00:16:56 +00:00
Andy Williams 0cdaddf29a Fix monospaced text 2014-02-23 20:22:47 +00:00
Andy Williams 7141262664 Add a right click menu for xdg-open 2014-02-23 20:22:32 +00:00
Andy Williams 22fcc4998f Make the filepanel expandable 2014-02-22 16:01:21 +00:00
Andy Williams 14c8f61986 attempt to look up icons for the file 2014-02-19 21:43:36 +00:00
Andy Williams 568ab38d54 Let's only open plain text fils mkay? 2014-02-19 19:24:50 +00:00
Andy Williams 82655964ea Load a project directory from the command line or by displaying a folder picker 2014-02-16 19:55:00 +00:00
Andy Williams 4437672cad Add a more useful toolbar of functions. Set a more usable font for editing and make autosave a config option 2014-02-16 17:09:55 +00:00
Andy Williams 1899233c01 whitespace fixes 2014-02-16 00:31:10 +00:00
Andy Williams be30e5e24c If a file is open then re-focus the loaded file. Don't open directories or non-files 2014-02-16 00:29:00 +00:00
Andy Williams 6e27500f68 Adding (blind) loading of files as text for editing. Use a naviframe for holding the content and a callback from filepanel through main to open new files 2014-02-15 23:17:40 +00:00
Andy Williams db5f776939 Order files by name in the tree 2014-02-15 14:44:55 +00:00
Andy Williams 71534f3c5a Using Eina_File instead of Eio makes the tree much easier 2014-02-15 14:41:57 +00:00
Andy Williams 5d8981d09d Loading the panel from the filesystem. organise out a little and commit where i've got to 2014-02-14 23:50:25 +00:00
Andy Williams 4e0c68a540 Correct the toolbar issue
Actually contain everything in a vbox - don't try to pack toolbar into a pane
2014-02-12 23:20:29 +00:00
Andy Williams 476c6c5d9c Add some layout and dummy content 2014-02-12 23:02:09 +00:00
Andy Williams 97f3e99c06 Update some copyright bugs from script 2014-02-12 20:58:43 +00:00
Andy Williams 78dc9c0932 Output of eflprj with a couple of tweaks - and EDI is born 2014-02-12 20:56:20 +00:00