Uses the autocomplete context parser for recognizing keywords
with the same names in different contexts. For example:
the attributes "min" and "max" for a description context
should be integer values in range from 0 to 1000; but for a
"text" context those attributes should be boolean.
Curently add recognition for a "min" and "max" attributes in the "text" content.
@fix T2712
Set edc changed in template_insert() to save template insertion.
Test Plan:
1. write a part. (e.g. rect { "rect2";)
2. insert desc template (ctrl + t)
2. close edc
When edc is closed without saving after inserting template, warning
popup should appear.
Set edc changed in edit_text_insert() to save text insertion.
Test Plan:
1. open find/replace (ctrl + f)
2. write strings in "Find:" and "Replace with:"
3. push "Replace all"
4. close edc
When edc is closed without saving after replacing a string, warning
popup should appear.
This reverts commit a2e8ea3028.
When a part is inserted by LiveEdit or modified by candidate popup, edc
file is saved automatically.
Conflicts:
src/bin/file_mgr.c
Summary:
To make it easier for user to modify color,
I added color modification feature such as colorselector,
color view, color inputs and priority color lists into the ctxpopup.
Test Plan:
1. click the 'color' keyword
2. see the color components of ctxpopup
3. change the color using the components
Reviewers: Jaehyun_Cho, NikaWhite, Hermet
Differential Revision: https://phab.enlightenment.org/D3726
Part state of new group is set before new group is loaded into layout.
So default part state of new group is displayed instead of selected part
state.
To fix this issue, part state of new group is set after new group is
loaded into layout.
Part of new group is highlighted before new group is loaded into layout.
So after loading new group, part of new group is not highlighted.
To fix this issue, part of new group is highlighted after new group is
loaded into layout.
Part name list of new group is set before new group is loaded into
layout. So part name list of new group is not set and "part,clicked"
signal callback for each part is not called.
To fix this issue, part name list of new group is set after new group is
loaded into layout.
Dummy swallow of new group is created before new group is loaded into
layout. So dummy swallow of new group is not displayed.
To fix this issue, dummy swallow is created after new group is loaded
into layout.
This feature is useful for small number of developers.
From the point of maintenance view, reverting this feature is better.
This reverts commit f391c03be0.
Checking the string from start till cursor position is empty.
And in case if this range is empty - formatted text will be
inserted above the current line.
Monospaced fonts are identified by fontconfig APIs.
(i.e. Monospaced fonts have a spacing value with 100.)
Therefore, showing monospaced fonts are available only if fontconfig is
installed.
When user undo or redo change, the edc file will be recompiled and the
live view will be updated. There are two flow: in case if the change is buildable
(i.e. the edc file was builded sucessfuly, when this change happened)
edc file will be recompiled. In case when change marked as unbilduable -
nothing will happen.
@T3051
Summary:
When copy & paste in markup text mode, elm_entry does not support to close markup text.
In enventor the feature cause the color changes about the pasted text.
so I applied the plain text mode to prevent color changes when some text are pasted.
Test Plan
1. copy some text
2. paste anywhere
3. see the color of the text whether there are color changes or not
Reviewers: Hermet, Jaehyun_Cho, NikaWhite
Differential Revision: https://phab.enlightenment.org/D3717
Summary: Set the cusor region of part, when selecting in live editor
Test Plan:
1. Open the enventor and load a sample
2. Select a part in live editor
Reviewers: Jaehyun_Cho, Hermet
Subscribers: Jaehyun_Cho, Hermet
Differential Revision: https://phab.enlightenment.org/D3690
Summary:
removed the animator creation when mouse double click in console box.
If use animator, there can be unexpected behavior like selection region is deleted when long script is loaded.
@fix
Reviewers: Hermet, Jaehyun_Cho, NikaWhite
Differential Revision: https://phab.enlightenment.org/D3714
When an edc text is newly loaded, the edc text is indendted if its
indentation is not correct.
The indented text creation function, indent_text_create(), utilizes
the logic of indent_text_auto_format().
<Test Case>
1. Copy "description { "default";" in basic.edc.
2. Paste
<Test Result>
Previously, a new line is inserted between "description {" and
""default";".
Now, the copied text is pasted.