Summary:
if grammatically incorrect EDC file is opened, then
Undo causes error caution (with red alert) even though
there is no Undo action.
Test Plan:
1. Make incorrect EDC file. (e.g. Write "aaaa" in EDC file incorrectly)
2. Save the wrong EDC file.
3. Newly open the wrong EDC file.
4. press Undo button and it causes error caution.
Reviewers: Hermet, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D4118
Summary:
When we add a live edit item, it is convenient to be support part outline.
so I added part outline feature. It can be toggling.
@T3626
Test Plan:
1. launch enventor
2. activate parts outline item on tools
3. see the parts outline in live edit view
Reviewers: Hermet, NikaWhite, bowonryu, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D4071
Summary:
When we search the word or click part in live edit view and edc navigator,
The corresponding name in text view is selected, but it is not center align.
So I make it center align when the word is selected.
@T3326
Test Plan:
1. launch enventor
2. open search window
3. input any word in script
4. click ok forward button
5. check selection part if it is placed in center
6. click a part in live edit view
7. check selection part if it is placed in center
8. click a part name in edc navigator
9. check selection part if it is placed in center
Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu
Differential Revision: https://phab.enlightenment.org/D4059
Previously, autocomp list moved to selected part name position because
autocomp list did not disappear when mouse down event occurred.
Now, an event rectangle is added to catch mouse down event and autocomp
list disappears when mouse down event occurs.
@fix T3738
Previously, part highlighting worked if part highlighting button is
clicked or enventor window moves during live edit mode.
Now, part highlighting does not work during live edit mode.
@fix T3653
Previously, part highlighting worked if part highlighting button is
clicked or enventor window moves during live edit mode.
Now, part highlighting does not work during live edit mode.
@fix T3653
if image string is in comments, image shouldn't be appeared.
but edc parser didn't compares texts elaborately and it came out error.
now fixed it.
@fix T3740
when user press a part on the live view, the part name compareing is triggered.
in that sequence, cursor is jump onto the part wrt clicked part.
since, however, the string compare is not enough
the cursor could go on other part which has a similar name.
now compare them in detail to correct this
@fix T3736
Since enventor allowed user to touch outer of editor while its ctxpopup is activated,
the context could be broken.
Block whole area and prevent the context break.
@fix T3752
Previously, template code was inserted before the closing bracket.
Now, template code is inserted after the closing bracket.
Test Plan
1. Open basic.edc.
2. Put mouse cursor the end of the line 18.
3. Press Ctrl + t to insert template code of image part.
Previously, line count was not correct after textblock part is inserted
in live edit mode.
Now, line count is correctly calculated after textblock part is inserted
in live edit mode.
Test Plan
1. Insert textblock part in live edit mode.
2. Check max line number.
Summary:
Enventor window stops responding on double clicking "min" on Windows.
Because of approaching the index in which the cur_context doesn't exist, the crash happens.
*cur_context[] in parser_attribute_get() edc_parser.c
Test Plan:
1. launch enventor on Windows
2. add image using live edit
3. double click "min" on editor
@TSAM-3524
Reviewers: Jaehyun_Cho, Hermet
Differential Revision: https://phab.enlightenment.org/D3972
Summary:
fix the fixed condifion for relative_to.
the condition was wrong, so I fixed it.
Test Plan:
1. Launch Enventor
2. Click a Live Edit Item
3. Check fixed_w and fixed_h
4. Insert the Live Edit Item
Reviewers: Hermet, Jaehyun_Cho, NikaWhite
Differential Revision: https://phab.enlightenment.org/D3943
Summary:
When we apply mirror mode, we need to considering swap relative_to,
but exist code was not checking null pointer.
so I fixed the logic.
Test Plan:
1. Launch Enventor
2. Apply Mirror Mode
3. Insert a live edit item with relative_set setting
Reviewers: Hermet, Jaehyun_Cho, NikaWhite
Differential Revision: https://phab.enlightenment.org/D3942
Summary:
Add new interface feature about setting relative_to to make relationship esaily
between part and part. Now, we can make the relationship using just mouse interface.
Test Plan:
1. launch enventor
2. add live edit item using live edit toolbar
3. drag the item to the another part
4. move a control point that you want to make a relationship to the another part edge
5. and then relative_to ctxpopup is shown
6. select the relative_to item in the ctxpopup
7. insert the live edit item with double click
8. check the inserted code whether it is make relationship or not
Reviewers: Jaehyun_Cho, NikaWhite, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D3936