Commit Graph

48 Commits

Author SHA1 Message Date
Mykyta Biliavskyi 6aea530622 Text settings: Add analysis typed text for redoundo feature.
Added cases:
    Analyse auto indention for new lines. It mean, that redo/undo
            line creation will finished by one step.
    Analyse input symbols speed. In case when user writes somethenigi
            and takes a short delay (by default 0.8sec)
            between written symbols - redo/undo action will use this delay
            as point to create new node in redo/undo queue.
    Analyse input symbols on a "words". Ongoing alphabetic symbols
            between nonalphabetic symbols known as
            "word". Redo/undo action will use for a step a whole "word".

In text setting added addition toggle named "Smart undo/redo".
By default this feature is disabled.

Todo: make this feature work with auto intendation.

Prortotype here: https://phab.enlightenment.org/D1288
2015-12-10 10:53:12 +09:00
Jaehyun Cho 2e541e722a enventor: Fix to move scroller bar to correct position for find function
enventor creates a scroller instead of using entry's scroller for text
editor. This causes that the scroller bar moves to incorrect position
when a word is selected by find function. To resolve this problem, set
entry's cursor position before setting entry's select region.
2015-12-07 17:30:05 +09:00
Mykyta Biliavskyi d22bfdba37 Ctxpopup: block the input values from ctxpopup if it already deleted.
When compilation error happens - the currently open ctxpopup
will be closed.
@fix T2542
2015-09-22 10:36:09 +00:00
Mykyta Biliavskyi a2e8ea3028 Show the save warning dialog on close unsaved file. 2015-09-18 09:36:07 +00:00
Mykyta Biliavskyi c8fdf43e9a Fix compilation warnings for enventor library. 2015-09-15 17:39:51 +00:00
Mykyta Biliavskyi abe5ef0aa6 Highlight: apply disable/enable the highlight status for all groups.
The highlight feature is provided for global usage (it means,
that disabling highlighting will turn off it for ALL parts
in ALL groups). This patch add management the highlight
feature status for cases when the highlight was enabled
when one group was active and disable in another group.
2015-09-15 15:41:08 +00:00
Mykyta Biliavskyi 1fd611f4b6 Edc_editor: enhance enventor_object_text insert API.
Summary:
added edit_text_insert function, that
shared for public use as enventor_object_text_insert
This API provide functionality for text insert with
support correct text replacement and redo/undo
feature support.

@fix T2691

Test Plan:
Lunch Enventor. Open "Find/Replace" dialog.
Fill "Find" field with exist string and fill
"Replace with" field with any text. Press "Replace All".
Close dialog window and check how work Ctrl+Z and Ctrl+R
hotkey combinations.

Reviewers: Hermet

Maniphest Tasks: T2691

Differential Revision: https://phab.enlightenment.org/D3005
2015-09-04 15:42:43 +09:00
Jaehyun Cho b6d17628c5 Remove eio_monitor for edc file.
Instead of using eio_monitor, build edc file in enventor_object_save().
2015-08-27 03:55:48 +09:00
ChunEon Park 1b0fc9f4cf auto completion: fix malfunction of key input on Windows system.
re-implement auto completion key input by using key grab mechanism.

@fix
2015-08-27 00:58:01 +09:00
Mykyta Biliavskyi 9c66f6fcf0 Build: marks line, that contain error in edc_editor.
Summary:
parse error messages from edje_cc, and marked
by underline the mistaken line.  In cases for messages
that does not contain line numbers, trying to parse
name of wrong parameter. Trying to searching the parsed name
in edc code, and highlight the first entity.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2791
2015-08-11 13:18:07 +09:00
ChunEon Park e9f258a839 notify file changed popup correctly.
Current implementation has logical hole that skips the notification of file changes first time.
We fix this even if it depends on the time thresholds.
New implementation will skip the file changes also but
it will only skip, if the file change is happened again under 2 seconds.
2015-07-03 20:24:05 +09:00
ChunEon Park 1cc52fee57 fix to avoid popup of "file modified"
if the file is modified continously,
it couldn't catch that the file is modified by self or not.
we do avoid this by delaying the notifying event for 3 secs.
2015-07-03 19:58:20 +09:00
ChunEon Park fe2ad1f07b change Enventor_Path_Type interface.
changed names for enum value consistency.
2015-07-01 12:04:48 +09:00
ChunEon Park 92c09a0a39 ctxpopup: support dramatic updation for live view.
a little slow, but it's better than before.

added smart callback, @live_view,updated
renamed smart callback, @ctxpopup,selected -> @ctxpopup,changed
2015-07-01 01:25:04 +09:00
ChunEon Park 796e1bffe1 edj_viewer: call the "live_view,loaded" at proper time.
previously, the signal can be called even live view is not loaded yet.

@fix
2015-06-30 19:49:04 +09:00
ChunEon Park 6e7e18b12b auto_comp: close popup if the line is deleted.
@fix.
2015-06-23 10:21:22 +09:00
Mykyta Biliavskyi 5b3aa7ca3b Autocomplete: show list of the candidates by Ctrl+space.
Summary:
By press ctrl_l+space will be shown popup with the candidates list,
that relevant to current cursor position.
Added API enventor_object_auto_complete_list_show as public.

Reviewers: Hermet, jpeg

Maniphest Tasks: T2496

Differential Revision: https://phab.enlightenment.org/D2720
2015-06-22 14:34:52 +09:00
Mykyta Biliavskyi 9ac6faaa9e edj viewer: update live view for different groups.
This happens, because edj file is rewrited and
descriptor lost. Reload all groups each time when
edj file rewrited.

@fix T2162
2015-05-28 19:37:25 +09:00
Mykyta Biliavskyi d18b1afdc2 Update part state in dependence of the cursor position.
Added ability to switch part state on live view, when
cursor located inside the "description" subblock of part.
In case when cursor move out from "description" block,
default state of part will be displayed.
2015-05-27 14:47:40 +09:00
ChunEon Park a81a0d23ee eo: sync with eolian syntax changes. 2015-05-24 18:18:12 +09:00
Jaehyun Cho 489d43a62a edc_editor: Add enventor_object_font_set()/get() APIs. 2015-03-26 22:00:43 +09:00
ChunEon Park 94447b0ccc remove redundant code.
it was for compatible for enventor v0.5.0 release.
now we are on development stage.
2015-03-02 14:49:51 +09:00
ChunEon Park 57a2f1e377 lib: fix to monitoring new empty file.
"empty" in the template as well as empty input file in the command line, were not tracked by enventor
so live view couldnt be updated.

now it's fixed.
2015-03-01 14:34:03 +09:00
ChunEon Park d146547b52 enventor_object_save() forcely rewrites if the file path is changed.
so app doesn't need to care it anymore.
2015-03-01 14:23:31 +09:00
ChunEon Park 5fbe04485f Revert "edc_editor: Add enventor_object_font_set()/get() APIs."
This reverts commit 220e1fe10c.

font change is critically buggy.
need to test more and review in detail.
2015-03-01 03:13:17 +09:00
ChunEon Park a22815cbfd lib: fix to not display file modification warning box.
don't display file modification warning box in launching envetor with template select menu.
2015-03-01 02:30:13 +09:00
ChunEon Park f3f0c30c8a fix live view updation problem.
if file is saved as, the edj tracking would be corrupted.
later this scenario, live view won't be updated

@fix T2124
2015-03-01 02:00:19 +09:00
ChunEon Park cdab9f0a5d clean up code for supporting dllexport in win32. 2015-02-28 15:13:23 +09:00
ChunEon Park 96d4919a6b enable ENVENTOR BETA API in configure. 2015-02-28 14:50:17 +09:00
Michelle Legrand 05a848fddd lib: add export/import for libraries on Windows
Summary: Exporting/Importing Enventor dll for Win32.

Differential Revision: https://phab.enlightenment.org/D2040
2015-02-28 14:33:18 +09:00
Jaehyun Cho 220e1fe10c edc_editor: Add enventor_object_font_set()/get() APIs. 2015-02-27 16:38:46 +09:00
ChunEon Park 94fb905d65 lib/edc_editor: add 2 more apis - redo, undo. 2015-02-26 14:31:06 +09:00
ChunEon Park a87332c72e update for eo_do_ret()
api call change complied with unstable eo.
2015-02-26 10:47:51 +09:00
Hermet 04c35e5d8a bin/console: add auto hiding function.
this is for better intellegent console window.

console will be hidden if any error messages are gone.
2015-02-14 18:36:00 +09:00
ChunEon Park 43b3b77e04 lib: add enventor_object_cursor_pos_set to public API
Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1894
2015-01-26 13:27:46 +09:00
Jaehyun Cho aeb4bcda16 syntax_color: Add enventor_object_syntax_color_set()/get().
Summary: Add enventor_object_syntax_color_set()/get() to support changing text color.

@feature

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1833
2015-01-05 13:27:54 +09:00
Jaehyun Cho a4227ef9a4 setting: Add size configuration of Live View
Summary:
Add size configuration of Live View
@feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1667
2014-11-25 21:08:29 +09:00
Jaehyun Cho 98a9eca6c5 live_edit: Fix T1785 to restore live edit
Summary:
Fix T1785 to restore live edit
         @fix

Reviewers: Hermet

Maniphest Tasks: T1785

Differential Revision: https://phab.enlightenment.org/D1650
2014-11-12 16:44:19 +09:00
ChunEon Park ff7caeae42 lib/enventor: fix typo 2014-11-03 15:33:15 +09:00
ChunEon Park 936fd19e35 ctxpopup: code refactoring
clear up code.
2014-11-03 13:43:13 +09:00
Jaehyun Cho 02fb416a85 ctxpopup: Fix T1753 (ctxpopup is not closed when esc is pressed)
Summary:
Fix to dismiss ctxpopup when esc is pressed or menu is opened
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1631
2014-11-03 12:19:33 +09:00
ChunEon Park c39f46970c lib/enventor: support focused smart callback. 2014-11-01 18:20:21 +09:00
ChunEon Park e513684d22 fix build warnings. 2014-11-01 01:15:58 +09:00
Jaehyun Cho d135e0c9ea enventor: Fix T1756 (wrong group name is displayed in status bar)
Summary: Fix to not display wrong group name in status bar with empty template.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1628
2014-10-31 20:48:39 +09:00
Jaehyun Cho 7f6206269e search: Fix to clear selection when find window is moved or closed.
Summary: Fix to clear selection when find window is moved or closed. Otherwise, the selection block begins from old one.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1581
2014-10-28 01:23:24 +09:00
Jaehyun Cho 72e28a7310 enventor: Support "edc,modified" smart callback.
Summary: Support "edc,modified" smart callback. The event_info of edc,modified smart callback indicates whether the modification is done by itself or by other process.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1551
2014-10-23 16:39:31 +09:00
Jaehyun Cho 2e0be44e7a enventor_smart: Store dummy_swallow value in Enventor_Object_Data instead of view_data.
Summary: Store dummy_swallow value in Enventor_Object_Data instead of view_data.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1535
2014-10-19 14:30:15 +09:00
ChunEon Park e5927b37eb library support.
current enventor apis are under beta apis.
im notice you these apis could be changed soon.
2014-09-30 23:56:16 +09:00