Commit Graph

39 Commits

Author SHA1 Message Date
Andy Williams 2262d7bf1c elm_code: Removed and migrated to using the elementary merged version 2016-06-10 10:03:40 +01:00
Andy Williams 70742e1c73 ui: use standard icon names
remove deprecated lookup order calls as icon theme is set by user
2016-04-28 15:51:12 +01:00
Yomi db913666bd Edit welcome message.
Summary: Edit welcome message

Test Plan: none.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D3727
2016-02-24 10:27:03 +00:00
Andy Williams 1867697292 [ui] re-add the undo button, it's back
Now that most keyboard actions can be undone it seemed
sensible to get the ui elements back again.
2016-02-21 23:46:44 +00:00
Andy Williams 687af9c86f optimise edge case checking 2016-02-16 00:16:34 +00:00
Andy Williams a744f48420 [tabs] add a close all feature
For the times when you just have too many tabs open!
2016-02-16 00:15:52 +00:00
Andy Williams 47ebe38fc4 [ui] one more toolbar fix to match scale changes 2016-02-01 14:16:59 +00:00
Andy Williams 16639ff526 Revert "[ui] set icon size based on scale"
Fixing the icon scaling in elementary itself instead.

This reverts commit a0b90e27c6.
2016-01-30 13:50:41 +00:00
Andy Williams a0b90e27c6 [ui] set icon size based on scale 2016-01-29 14:44:26 +00:00
Andy Williams 09f572576e [ui] Correctly focus popup inputs
Work around an issue where a top level input cannot be
focussed using the elm_focus API.
2016-01-21 20:06:49 +00:00
Andy Williams d7cea60593 [ui] Tidy open file toolbar
Add icons for the filetypes on each tab.
Expand in menu mode - better than scrolling..?
2016-01-16 18:22:30 +00:00
Andy Williams af6297992e [config] don't re-open files not really opened
When we chose type tapping cancel should not cause the file to be reopened later
2015-09-16 10:21:21 +01:00
Andy Williams 1c7e2b3873 editor: improve goto line dialog
Focus the input when we show and allow enter press to submit.
Also refactor it out of the edi_main mess.
2015-07-16 22:36:15 +01:00
Andy Williams 4da088b51c tabs: load in the correct order...
Remove some unneeded duplication at the same time
2015-06-09 22:31:33 +01:00
Andy Williams 7cc03ec58d remove tabs from indent 2015-06-07 23:12:31 +01:00
Andy Williams e3ed8806c3 elm_code: add legacy API.
Refactor eo API in line with elm_obj_* elsewhere
2015-06-02 08:22:36 +01:00
Andy Williams 1bcb2cbf95 editor: Remember open tabs and windows.
Store per-project to open what you were last working on in the project
2015-05-18 16:32:46 +01:00
Andy Williams d380f0f6d3 editor: fix memory corruption when opening new win
Fixes issue when a file opened to a new window could not then
be focussed or re-loaded after the window is closed
2015-05-18 15:45:28 +01:00
Andy Williams 2a4d4e17f0 elm_code: Cut, copy and paste working
Current limitations that paste is into a single line
2015-03-28 17:57:47 +00:00
Andy Williams ff0e5323b5 editor: Delay goto until we've loaded the ui 2015-03-23 22:36:29 +00:00
Andy Williams fb7dab9c90 editor: fix goto line
broke during elm_code migration, working again
2015-03-21 21:56:59 +00:00
Andy Williams 4aa3defb30 editor: save using elm_code's new save method 2015-03-21 19:53:21 +00:00
Andy Williams f137cc5321 editor: fix issue with closed tabs 2015-03-15 13:27:15 +00:00
Andy Williams 9751009a7e files: Use correct icon for mime/editor type
Use mime type or user selected default type for file icons.
Use the same icon lookups for our popup menus to be consistent too.
2015-02-22 14:17:51 +00:00
Andy Williams 3a3bf2b6db editor: Control the auto-save function locally so we can re-sync with clang.
This should mean that highlighting, whilst still slow and flickery, does not corrupt.
2015-02-08 23:22:16 +00:00
Kelly Wilson 1a4843fba8 Mainview: prior/next tabbing wrap
Add wrap around for 'ctrl-prior' and 'ctrl-next' in the mainview naviframe
2015-02-08 14:38:46 -07:00
Kelly Wilson cb872785f4 Config: remember file types
We now associate the mime type of a file with the type of file to open. So open a .py file as text once and then you won't be prompted any more.
2015-02-07 01:13:40 -07:00
Andy Williams c233fcad81 Split code editor type from text, don't try to highlight text.
Update our internal registry to know the difference between text and code.
Add some tests that verify we're getting the right type of editor.
2015-02-06 14:16:26 +00:00
Kelly Wilson f33bd458c9 Fix things so that opening a new file also grabs the focus. Add to AUTHORS file also. 2015-01-30 08:39:54 -07:00
Andy Williams 01cb36f510 More updates to correct API/export declarations for Windows.
Various changes brought in. Patch from Vincent Torri - thanks
2015-01-10 17:43:12 +00:00
Andy Williams 2249bcfc71 Adding replace support to our search bar.
Run a search first if one has not been, from then replace the current term and search again.
Submitted by Kelly Wilson
2015-01-18 17:36:12 +00:00
Andy Williams e7b72e5b8b Fix crash when ctrl-pgdn beyond first file 2014-11-29 20:00:45 +00:00
Andy Williams 2538f6cf90 Refactor mime type lookup and UI creation code to use a content_provider registry.
This is static at the moment but could be made dynamic to allow code to hook in new views
2014-11-28 23:34:36 +00:00
Andy Williams 32fd7043ca Open diffs in a new window if requested 2014-11-23 00:18:57 +00:00
Andy Williams 854ebe1566 Let's use a consistant font size 2014-11-22 22:55:57 +00:00
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 e03730b913 Fix potential crash when going to the line of a
large file.

It will not work first time, but that's a seperate issue
2014-11-18 21:35:18 +00:00
Boris Faure 8fadf10987 fix some compiler warnings 2014-10-22 21:16:17 +02: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