When user click a part in the live view,
the entry cursor jumps to the corresponded part line.
Need additional attention for the invisible parts. Swallow
and spacer parts primitives created after edje-layout. And this
causes situation when this primitives is placed above other
parts.
T2179
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
After choose or hide the candidate, the entry cursor
is moved to the end of attribute string ';'. It is more natural
way, than was previously, when cursor was placed before ':'.
Reveret "Edc_editor: after insert candidate,
move cursor to end of attribute", because it cause
wrong behaviour.
Clear code, make selection in entry by elm_entry_selection_set.
Summary:
This is correct behaviour for cursor placement
after inserting candidate into edc code. Previously
cursor was placed before ':'.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D3044
Summary:
Add the elm_ctxpopup_dismiss call inside the
candidate select callback function.
Delete unused function ctxpopup_candidate_selected_cb.
Test Plan:
change rel1.to param using candidate list.
After select candidate - ctxpopup should be dismissed.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D3043
Summary:
For the initiate synchronizing cursor position
and the live view object was moved edit_view_sync into
callback function for "cursor,changed" entry signal.
It is neccessary, because keys "Page up" and "Page down"
didn't initiate the signal "cursor,changed,manual".
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D3034
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
Summary:
launch programs in cases when program name is
placed not in the same paragraph with "program" keyword.
Now analyzes whole text, that placed after selected keyword,
not only text inside the same paragraph.
@fix
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D2964
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
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.
Summary:
Function indent_insert_apply reutn count of inserted lines.
It is provide increse line numbers correctly.
@fix T2510
Reviewers: Hermet
Maniphest Tasks: T2510
Differential Revision: https://phab.enlightenment.org/D2745
Summary:
if some edc code is pasted, the indentation could be corrupted.
let's make it fix automatically, even if indentation of
the pasted code is not correct, only when auto indent mode is enabled.
Reviewers: Jaehyun, Hermet
Projects: #enventor
Maniphest Tasks: T2174
Differential Revision: https://phab.enlightenment.org/D2601
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.
Summary:
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.
Reviewers: Hermet, Jaehyun_Cho
Projects: #enventor
Differential Revision: https://phab.enlightenment.org/D2499
seems fd handler is broken.. (suspect ecore audio..)
so key down events happened multiple times,
here workaround code is for stable enventor.
and should be removed later.
Since elm_entry_editable_set() reloads entry theme, the registered
textblock of redoundo is replaced. This causes segmentation fault when
ctxpopup is dismissed.
Although entry is editable, entry text cannot not be changed if entry
does not have focus.
elementary object disable policy has been changed,
if editor disables it's layout, it's line and editor entry would be disabled also.
in this case, the text color will be changed according to disabled style.
to avoid, this, we just disable edit mode instead of disable object.
Summary:
Fix to dismiss ctxpopup when esc is pressed or menu is opened
@fix
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1631
Summary: Fix to not display wrong group name in status bar with empty template.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1628
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
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