Commit Graph

140 Commits

Author SHA1 Message Date
Alastair Poole fdf22ab85c mainview: check end bounds also. 2020-03-06 01:40:52 +00:00
Alastair Poole 78e5242f62 search: Use a search entry.
Using a popup for project search isn't very intuitive. Let's
allow user input and/or a button click to determine when to
start and stop the search.
2020-02-02 20:54:06 +00:00
Alastair Poole c68fba28cf mainview: Let mouse scroll move tabs.
This allows us to scroll through the list of open tabs with
the mouse.
2020-01-19 00:35:11 +00:00
Alastair Poole c4088de182 background: Use our edi_about image for bg.
There was/is text. Will see feedback and react to that.
2019-12-29 19:07:46 +00:00
Alastair Poole d45bb357ef Edi_Mime: Use our own variation to detect mime.
Replace efreet_mime_type_get with our own internal
edi_mime_type_get. Due to inacurracies do our own test for
binary file.
2019-12-20 18:00:57 +00:00
Alastair Poole bafcc05731 mainview: no need for popup when entry is empty.
By foccusing the entry widget that is empty this is
just as clear to the user as displaying a small
popup. In these situations this popup is probably
overkill and visually unappealing.
2018-09-11 13:49:11 +01:00
Alastair Poole f2c7e9e233 build: fix unused variable warning. 2018-08-04 12:20:58 +01:00
Alastair Poole e80d25a981 tabs: let tabs with large filenames grow.
This should ensure tabs grow when the filename is very long.
2018-08-04 12:17:03 +01:00
Alastair Poole ddb01ba1ef tabs: make tabs consistent size.
Give us consistent tab size and text alignment
which complements this for our tabs.
2018-08-04 10:28:44 +01:00
Alastair Poole 179acb1918 mainview: show path in tooltip when hovering tab.
Previously I implemented this with a "menu". This
wasn't very clever. Changing so we use a tooltip
as it's much cleaner and less cruft code.
2018-08-03 11:05:55 +01:00
Alastair Poole 1c00bdb17f goto line: fix crash when inputting with keyboard.
When using keyboard the incorrect object was being passed
to the goto method. It would crash.
2018-07-24 09:26:12 +01:00
Alastair Poole 6c08adab9c search in project: Use proper widget hierarchy.
This was crashing due to incorrect hierarchy when creating
widgets.
2018-07-23 21:50:46 +01:00
Alastair Poole 8e09fe33ff tab: right-click tab for filename path.
Path is relative to project.
2018-06-06 14:48:48 +01:00
Andy Williams d008cf16a8 Revert "theme: roll back for the 0.7 releaes"
This reverts commit 13ffef1042.
2018-05-15 16:13:55 +01:00
Andy Williams 83b616446c Merge in from 0.6.1 release branch 2018-05-15 16:01:01 +01:00
Al Poole ca25dea2d8 statusbar: undo recursive dependency.
Refactor and sanify the statusbar changes.
2018-03-18 11:29:10 +00:00
Andy Williams 13ffef1042 theme: roll back for the 0.7 releaes
It looks like we won't have an efl major releases soon enough to add this
2018-02-10 20:58:52 +00:00
Andy Williams 3548e6dfe7 Fix unsafe usages of basename 2017-12-31 15:57:01 +00:00
Al Poole 76ba36ea98 theme: add settings for alpha 2017-12-05 22:03:46 +00:00
Al Poole 201318adaf Revert "theme: "finish" settings for the theme translucency/shininig"
This reverts commit c3fe0295fc.
2017-12-05 21:55:40 +00:00
Al Poole c3fe0295fc theme: "finish" settings for the theme translucency/shininig
all work and no play makes andy a dull boy...all work and...
2017-12-05 21:53:35 +00:00
Al Poole 91a373cd2d mainview: react to config changes for split editors.
Make sure theme and font changes happen in split views too!
2017-12-01 23:28:06 +00:00
Al Poole 4edf97c0af mainview: react properly to config changes.
This will fix font and theme config changes in split editors so they
update as others do.
2017-12-01 23:26:23 +00:00
Al Poole e64ff06592 split_view: store and load split views between sessions.
Keep track of split views and reload on open, if closed open.
2017-12-01 13:07:00 +00:00
Al Poole 0089d5e100 editor: split view. allow deletion of views.
If we have split panels let the delete button delete each view in
sequence until there are none remaining. Basically the tab close
button will do the work. Seems a logical approach.
2017-11-24 14:50:49 +00:00
Al Poole 099b9c039e mainview: store an actual copy of the path.
Store the path in memory rather than a pointer to it.
There are times when the memory can be corrupt, this should
stop a breakage.
2017-11-23 14:47:57 +00:00
Andy Williams 1dd7012a96 mainview: Don't shuffle tabs on background close
If it's not the panel's current tab we can ignore it
2017-11-19 11:56:09 +00:00
Andy Williams 9d374501c6 mainview: Scroll tabs correctly on open new tab 2017-11-19 11:51:53 +00:00
Andy Williams 75c1d42e55 mainview: Don't promote a tab immediately before closing it 2017-11-19 11:43:58 +00:00
Al Poole d1052de44b mainview_panel: fix focus issue and panel closing.
This fixes an issue with focus and also makes closing panels
and tabs much friendlier to the user.
2017-11-05 00:46:51 +00:00
Al Poole 4dc1cdf8ce mainview: add support for the new EFL focus subsystem. 2017-10-28 20:53:30 +01:00
Al Poole e6a0cce26a mainview: remove pointless code and guard against crash. 2017-10-19 21:41:26 +01:00
Andy Williams 49b8b3f5b9 l10n: Update strings to remove non-translation and trailing symbols we can add in code 2017-10-11 16:16:29 +01:00
Al Poole 49f1d1a53d replace: fix a typo. 2017-10-10 23:40:52 +01:00
Al Poole 7a5083c790 mainview: Add support for split-panes.
This adds the ability to edit multiple regions of the same
file at the same time. The views are synchronised. This
also adds a complementary function allowing us to get panel
from path name. We use this for focus sanity with our
additional split views.
2017-10-10 23:29:17 +01:00
Marcel Hollerbach ac304ea2a9 time for meson! 2017-10-03 19:07:42 +02:00
Al Poole fc855bf0bb mainview: search + search/replace popups, UI improvement. 2017-10-01 11:43:52 +01:00
Al Poole c826dee557 search: Add project-wide search and replace feature. 2017-09-28 01:23:18 +01:00
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole 3b1e7d0288 popups: refactor popups.
Some of these looked pretty duff. Have tried to make them
more consistent and nicer.
2017-09-11 18:54:02 +01:00
Al Poole 65477c7d46 widgets: Use consistent text style across widgets in the application.
Make changes to text style along with some miminal word changes and
fixes.
2017-09-02 22:48:57 +01:00
Al Poole 5eaf4e3be2 mainview: also select filepanel on tab focus.
This was bad by me. Found an example with an image. Both instances
are necessary for uniform behaviour. Sorry.
2017-09-02 11:54:40 +01:00
Al Poole 514e472cd1 filepanek: set the filepanel focus on editor focus.
Tab selection will focus the editor. This fixes occasions
when clicking between panels. So the filepanel focus is
uniform. Should have thought of doing it this way before.
2017-09-02 11:47:18 +01:00
Al Poole 782ef16427 mainview_panel: remove unnecessary cast.
Edi_Mainview_Item pointer does not need to be cast.
2017-09-01 20:42:41 +01:00
Al Poole 7f1dfbb26e filepanel: add method to select by path and select upon tab promotion.
When a file is focussed in it's panel and tab the file is also selected
in the filepanel. Another visual indicator of current focus and
synchronises behaviour of tab selection and filepanel selection.
2017-09-01 20:16:19 +01:00
Al Poole 2731c4bb75 mainview: clicking on tabs or filename will focus the editor entry.
Remove focus from tab item as it was stopping us from focussing the
editor entry. This change keeps track of cursors upon item change
and will focus (if possible) the entry. In essence, less clicks!
Clicking tabs or a file in the file panel has the same result.
2017-09-01 18:49:38 +01:00
Al Poole 97e324654c mainview: ensure only one instance of file is open across tabs and panels.
This change will ensure only one item can be opened at once across all
panels.
2017-09-01 13:53:27 +01:00
Al Poole 9ea0ba05c3 scm stash: on stash don't refresh all panels, let user decide on focus.
Removed the call to mainview_refresh_all which means after stashing
of changes the user can decide to reload the file contents when
focussing the editor.
2017-08-30 23:55:34 +01:00
Al Poole 1ed7c297cb mainview_panel: do safe checks before accessing panel->current->view
Reviewers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5149
2017-08-30 22:19:07 +01:00
Al Poole 8925c72adf editor: unset focus on tab change.
Summary: This seems to fix the multiple cursors between underlying tabs.

Reviewers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5148
2017-08-30 22:11:44 +01:00