Commit Graph

742 Commits

Author SHA1 Message Date
Kateryna Fesyna 7d24fc8a3c [EDC-Editor] Make template of parts to use unique names on insertion
Summary:
To create templates with unique name the counter of created parts is added to the Configure Data.
The line with the name of the part is placed in separate template because it is the same for each part template.

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1278
2014-08-07 21:59:51 +09:00
Mykyta Biliavskyi e9950a2869 redoundo: dismiss text selection after redo/undo action.
Summary: after apply diff from undo/redo queue any text selection in the entry will be dismissed. Fixes T1483  @fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1483

Differential Revision: https://phab.enlightenment.org/D1285
2014-08-07 21:58:48 +09:00
Mykyta Biliavskyi 717ad0148e menu: Fix change window title.
Summary: When file saved with new name -  changes title of main window. @fix

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1286
2014-08-07 21:57:44 +09:00
ChunEon Park e804f00371 edc_editor: update file path on title exactly. 2014-08-07 21:55:13 +09:00
ChunEon Park 9fb9eafb32 fix indenation. 2014-08-07 17:25:35 +09:00
ChunEon Park 0b12af70cc configure: don't depend on eo yet. 2014-08-07 17:05:44 +09:00
ChunEon Park 48bff46168 edc_parser: support action slider for color2, color3 keywords. 2014-08-07 16:01:59 +09:00
Mykyta Biliavskyi de98785cc4 redoundo: fix cursor position after redo action.
Summary: cursor set after inserted symbol(or string) and shifted left after delete. @fix

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1284
2014-08-07 15:36:45 +09:00
ChunEon Park 8e1e82c609 dummy_obj: declare a function in the header to be exposed. 2014-08-07 15:34:16 +09:00
Mykyta Biliavskyi 8067dfe916 redoundo: fix cursor position after undo action.
Summary: cursor sets after inserted symbol(or string) and shifted left after delete. @fix

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1283
2014-08-07 15:28:38 +09:00
Mykyta Biliavskyi 911341c30b edc_editor: fix segfault on last character undo.
Summary:
In case when undone character(s) in entry, was call updating syntax highlight. If entry is empty, then pointer of text  didn't cleared and it was cause segfault in evas_textblock module.
@fix Fixes T1480

Reviewers: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1480

Differential Revision: https://phab.enlightenment.org/D1272
2014-08-07 15:25:26 +09:00
ChunEon Park ba67f62d4e configure: cut off invalid pkg dependency. 2014-08-07 00:26:50 +09:00
ChunEon Park 925bc6f06e fix shadow, unused build warnings. 2014-08-06 18:02:54 +09:00
Mykyta Biliavskyi 414e604273 indent: enhanced integration with Redo/Undo module.
Summary: in case when was adding or deleting line, will sent changing whitespaces (add/delete) from module "indent"  into undo/redo module. Fixes T1481 @fix

Reviewers: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1481

Differential Revision: https://phab.enlightenment.org/D1274

Conflicts:

	src/bin/indent.c
2014-08-06 17:17:34 +09:00
ChunEon Park ce373ec81f indent: code refactoring.
apply simpler code.
2014-08-06 16:56:53 +09:00
ChunEon Park 0919238358 indent: free the used memory. 2014-08-06 16:52:05 +09:00
Mykyta Biliavskyi 8880e402a4 edc_editor: Fix template text range for undo/redo feature.
Summary: fixed take start position of pasted templates. Fixes T1484 @fix.

Reviewers: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1484

Differential Revision: https://phab.enlightenment.org/D1277
2014-08-06 16:16:49 +09:00
ChunEon Park f00792bba2 syntax_color: add a keyword 2014-08-05 16:32:59 +09:00
ChunEon Park cf46aad5ca panes: apply flush style. 2014-08-05 15:48:36 +09:00
ChunEon Park f986ac38a1 code refactoring.
specify 'void' for void arguments functions to catch up the warnings more intensively.
2014-08-05 15:32:12 +09:00
ChunEon Park 8fc8d6c192 updated AUTHORS 2014-08-02 18:42:11 +09:00
ChunEon Park ea7ba535e3 redoundo: fixed typo. 2014-08-02 18:39:05 +09:00
ChunEon Park 1a75d9f18e redoundo: remove odd line status updation call. 2014-08-02 18:33:23 +09:00
ChunEon Park bfcc188551 editor: set line number status correctly when edc is empty. 2014-08-02 18:26:14 +09:00
ChunEon Park 9da55623c7 editor: update current line status properly.
put the line updation in the line inc/dec functions to be ensure.
2014-08-02 18:15:22 +09:00
ChunEon Park dfabf9d122 goto: removed a period in the message 2014-08-02 17:58:27 +09:00
ChunEon Park 518f193d1e goto: removed an empty line. 2014-08-02 17:45:09 +09:00
ChunEon Park faa6781753 goto: allow only digits input 2014-08-02 17:40:51 +09:00
ChunEon Park 34919344e4 editor: additional descriptive messages.
display a message when no text to be redoundo.
2014-08-02 17:18:21 +09:00
ChunEon Park e81058d2f8 editor: display redo/undo message. 2014-08-02 16:59:37 +09:00
ChunEon Park 3cd276bc49 editor: update line status when text is changed. 2014-08-02 16:53:06 +09:00
ChunEon Park 950d2943a1 revise redo/undo code 2014-08-02 16:41:24 +09:00
Mykyta Biliavskyi 06695c7c55 Redo/Undo: implementation of redo/undo feature.
Summary:
Add module redoundo.c/.h.
Support:
  -    auto intend feature;
  -    autocomplete feature;
  -    code templates insert;
  -    paste text from buffer;
  -    line delete.

Control keys: Undo - **ctrl+z**; Redo - **ctrl + y**.

Need to implement:
  -    API for setting max size queue of changes.
  -    Smart algorithm for management changes.

Known issues:
 on large text(more than 1000 chars) redo, sometimes text inserted in wrong position;

Reviewers: Hermet

Subscribers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1258

Conflicts:

	src/bin/Makefile.am
	src/bin/menu.c
	src/include/Makefile.am
	src/include/common.h
2014-08-02 14:00:55 +09:00
ChunEon Park cb0e70bff9 finished the missed code clean up.
This is an additional code change from this commit.

e592d65053
2014-07-31 22:42:15 +09:00
ChunEon Park b98f837d81 updated README 2014-07-31 22:33:36 +09:00
ChunEon Park 55eb08c85a look efl version one way 2014-07-31 22:31:59 +09:00
ChunEon Park e592d65053 code refactoring.
split setting.c out from the menu.
2014-07-30 18:10:18 +09:00
ChunEon Park cbfe14c87c refactoring code.
renamed the edc file, group names to be more clear.
2014-07-30 17:02:08 +09:00
ChunEon Park 908e305cd1 removed unused images. 2014-07-30 14:38:30 +09:00
Kateryna Fesyna eee06afa2e edc_editor: focus lose on left-arrow key is pressed
Summary:
Call elm_object_focus_allow_set() function for en_line entry to
forbid focusing it, so en_editor would not lose its focus.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1246
2014-07-29 16:33:22 +09:00
Jaehyun Cho 93f2148e43 enventor: Add log messages for memory allocation error
Summary: Add log messages for memory allocation error

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1245
2014-07-28 13:42:14 +09:00
ChunEon Park 9505d24711 edc_editor - fix the vertical scroller disappear on ctrl+v
Reproduce Step:
  a. Open new empty project.
  b. Input 'collections {'
  c. Copy and paste edc text (for example elementary video.edc text) to the Enventor edit window.

Current result: vertical scroller is not shown
Expected result: vertical scroller is shown

Signed-Off-By:Kateryna Fesyna<k.fesyna@samsung.com>
2014-07-26 14:10:14 +09:00
ChunEon Park 3771fc8afb edc_editor - fix the disappear scrollable functionality.
Reproduce Step:
 a. Set font scale to 2.0;
 b. Set entry cursor to 1st position;
 c. Press Enter;
 d. Set cursor to 1st position;
 e. Press backspace;
 f. Press Del;

Current result: disappear scrollable functionality;
Expected result: delete 1st line.

Signed-Off-By:Kateryna Fesyna(k.fesyna@samsung.com)
2014-07-26 14:08:27 +09:00
ChunEon Park 32d1df73ae updated AUTHORS 2014-07-19 16:17:30 +09:00
ChunEon Park bdc865a84c dummy_obj - update properly when the swallow part is changed. 2014-07-19 16:03:46 +09:00
ChunEon Park 515efc710b fixed some memory leaks. 2014-07-19 15:50:40 +09:00
ChunEon Park c5d1467513 edc_parser - fixed memory leaks 2014-07-19 15:34:47 +09:00
ChunEon Park 6d0c720b20 fixed some memory leaks that detected by valgrind. 2014-07-19 15:07:25 +09:00
ChunEon Park 3d8ca8112f statusbar - enable in default 2014-07-19 14:45:07 +09:00
ChunEon Park 9c7debc87c get ready to release v0.3.0 2014-07-19 14:38:27 +09:00