Commit Graph

175 Commits

Author SHA1 Message Date
Alastair Poole 3848c35c72 editor: shift+del 2020-04-28 21:28:47 +01:00
Alastair Poole 3c4d9529b9 editor: Add support for moving to file start/end.
Add API to mainview/mainview panel. Also add key combination
for ctrl+home and ctrl+end.
2020-04-28 20:41:41 +01:00
Alastair Poole 58d9e3dc37 save: wrong thread for this api 2020-03-14 20:07:38 +00:00
Alastair Poole 9b29a396d9 editor: Fix build break.
Not very good. Fix this.
2020-03-13 21:49:30 +00:00
Alastair Poole fc975f7196 editor: small change.
This should all be kept together.
2020-03-13 21:38:24 +00:00
Alastair Poole 90af33f893 editor: Use a separate thread to save.
Move elm_code_file_save into a thread. Else we can block the UI.
2020-03-13 20:34:11 +00:00
Alastair Poole 6311340663 editor: Typo. 2020-03-08 00:16:52 +00:00
Alastair Poole c9500ca7e5 editor: Changes in Editor Mode. 2020-03-08 00:12:26 +00:00
Alastair Poole 1ae1048960 settings: Line numbers (enable/disable).
Add an option for this as we support it.
2020-03-07 19:05:33 +00:00
Alastair Poole 1269cc361f config: Add show/hide line width marker.
This isn't for everyone. Let's allow people to use it or not use
it. Also tidy settings up a little bit.
2020-03-05 20:08:14 +00:00
Alastair Poole 905d232d31 editor: Add Shift+Insert Handling 2019-12-15 16:12:41 +00:00
Alastair Poole 847e48810a BUILD: Fix changes in API for EFL 1.22 2019-03-24 15:08:38 +00:00
Alastair Poole af1ff5608d Revert "editor: fix multiline comment syntax highlighting."
This should be handled within the widget itself, far too
hacky to do it like this. Reverting this badnes.
2018-09-06 17:38:09 +01:00
Alastair Poole 808572894e editor: fix multiline comment syntax highlighting.
When autosave is disabled the multi-oline comment
syntax highlighting was not working. We can do this
without adding an API, but should aim to add an
identical behaviour method to elm_code with better
namespace that indicates syntax highlighting
refresh. Changing T6083 to a TODO.
2018-09-06 10:45:37 +01:00
Alastair Poole 26929ba2a9 editor: Fix typo.
Apologies, this shouldn't have gone through.
2018-08-21 20:08:41 +01:00
Alastair Poole 2ac7e2c3b5 editor: register modify on cut and paste.
Previously we could modify an editor with cut and paste, now
listen for these events and act as we would do with an editor
change.
2018-08-21 19:33:03 +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
Andy Williams 36bc269047 Display the text position rather than the visual column in info
This fixes a bug where compile warnings for lines with tabs
do not match.
2018-05-11 13:28:13 +01:00
Andy Williams 6277dbe47a Remove duplicate line 2018-05-11 13:14:54 +01:00
Andy Williams f9d5289ce6 Display the text position rather than the visual column in info
This fixes a bug where compile warnings for lines with tabs
do not match.
2018-05-11 13:13:35 +01:00
Andy Williams 100a3ecfc0 Remove duplicate line 2018-05-11 13:12:59 +01:00
Al Poole ca25dea2d8 statusbar: undo recursive dependency.
Refactor and sanify the statusbar changes.
2018-03-18 11:29:10 +00:00
Al Poole 461058bb8a content: move statusbar into edi_content.
sorry!!!
2018-03-17 19:08:09 +00:00
Al Poole fa03323a20 content: move alternative content to edi_content.c
Slight refactoring to complement the previous commits regarding tab sizing.
2018-03-17 17:43:34 +00:00
Al Poole 81165c426f tabs: Ensure that all content types load with good dimensions.
This ensures code, text and images are loaded properly with
proper dimensions. This means there is no jumping about when
switching tabs with multiple panels, multiple tabs and any
type of content. Moved the image_add to centralise the
generation of statusbar.
2018-02-22 15:38:53 +00:00
Al Poole 5cbb9466e9 editor: fix tab sizing with multiple panels.
When switching tabs and panels a bogus resize would occur.
This mitigates that.
2018-02-21 21:54:30 +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
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 57d2c5810a edi_theme: Add support for colour themes in EDI.
Finally adding theme support for Elm_Code_Widget. Fairly
self-explanatory. Settings-> Display -> Choose theme. Work
from both myself and Andy Williams on this one. A good one!
2017-11-27 23:09:51 +00:00
Al Poole 25339554b7 edi_filepanel: select on focus.
Use a timer for selecting the file browser item. Click tab and click
browser file work as before. Clicking the editor will focus in the
browser also with an "unnoticable" delay from the timer poll.
2017-11-23 14:51:29 +00:00
Al Poole f3dcf4b1f1 Revert "editor: on focus dont highlight file in panel."
This reverts commit cffd523df4.
2017-11-22 16:27:30 +00:00
Al Poole cffd523df4 editor: on focus dont highlight file in panel.
This can cause terrible deadly recursion. Now clicking on
the filepanel will select and show and clicking on the tab
will select in the file browser. We lose clicking the widget
directly to selection in the file browser...for now.
2017-11-22 16:02:21 +00:00
Al Poole b27c43abc5 editor: dont use smart parent object.
This fixes: T6389 for Edi. Perhaps needs fixes elsewhere IDK.
2017-11-22 15:48:00 +00: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 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
Andy Williams 2933c2faf6 autosuggest: avoid lingering tab-complete suggestions
On focus out or mouse downs we invalidate the suggestion
2017-09-24 21:38:14 +01:00
Andy Williams 75afcf4be8 snippet: fix indentation of inserted lines 2017-09-24 21:38:01 +01:00
Andy Williams f1643f08ef autosuggest: Add safety for optional language features
@fix crash with rust editor
2017-09-22 10:28:50 +01:00
Andy Williams add0d7f6c4 autosuggest: veto tab propagation for all inserts 2017-09-21 12:29:57 +01:00
Andy Williams 02525fe8ad autosuggest: speed up suggeestions
cache the list and refresh when we re-parse...
2017-09-20 22:11:43 +01:00
Andy Williams e03f234573 autosuggest: Show first match for tab completion
Displays a hover that shows the match - and you can click it too.

Closes T5902
@feature
2017-09-20 22:11:43 +01:00
Al Poole 02a1872365 popups: more UI tweaks. 2017-09-13 00:05:56 +01:00
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole d259a776a9 editor: background file changes. Fix editor reload on background file change. 2017-09-07 14:54:50 +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 da30264929 popups: improve visual display/style of the main popup widgets.
Reviewers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5117
2017-08-22 12:43:59 +01:00
Al Poole e35c4ba3af windows: make windows work properly and autosave properly.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5116
2017-08-22 12:38:56 +01:00