Summary:
Editor line number is scrollable horizontally
This patch fix the line number scrolling
ref T4276
Test Plan:
1. Open enventor
2. Scroll the scrollerbar horizontally in edc_editor
3. check that the line number entry is fixed
Reviewers: Jaehyun_Cho
Maniphest Tasks: T4276
Differential Revision: https://phab.enlightenment.org/D4901
Summary:
scroller had auto-scroll properties.
In detail, when the content of scroller have focus, the scroller scroll top-left
position of the content.
But enventor does not want to auto-scroll.
This prevent it.
Ref : 44e40c7c5e4549e78008eb7b74b6ab1b7e1fcf9d
Test Plan:
1. Open enventor basic template
2. Scroll down
3. click edc_editor
Reviewers: Jaehyun_Cho, cedric
Reviewed By: cedric
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D4930
Summary:
Add scroller_region_show method.
fix https://phab.enlightenment.org/T4416
Test Plan:
1. Run enventor
2. Open goto window using shortcut key(<Ctrl> + <l>)
3. type line number
4. check the scroller scroll correctly
Reviewers: Jaehyun_Cho, Hermet
Reviewed By: Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D4619
When error code is saved, cursor moves to the error code.
This cursor position change causes that candidate slider values are
appended after error code because cursor position moved to error code.
This patch restores cursor position to candidate keyword.
As a result, candidate slider values are always appended after candidate
keyword.
Some cases, the edc editor can't apply syntax color
when it opens a new edc file.
we can cover this scanerio by trying syntax color logic again
until it's succeed.
@T4275
Summary:
move hte functions in utils which are find_part and find_group to the edc_parser
since it is right way
Test Plan:
1. launch enventor
2. move cursor on part name in text view
3. press F3 key
4. check it works well
Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D4240
Summary: add the new feature to jump to the part define
Test Plan:
1. launch enventor
2. click mouse right button on "relative to" part name in text view
3. check selection is on the part define
Reviewers: Hermet, NikaWhite, bowonryu, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Tags: #enventor
Differential Revision: https://phab.enlightenment.org/D4167
This patch is temporary patch to remove focus highlight on template
selection button of new file open. (enventor -t)
Without this patch, en_edit cannot get focus because its visibility is
set with false.
Terminate redoundo instance after edc editor private resources are removed.
Redoundo has a entry delete callback, and it frees the redoundo private memory there.
But, if a redoundo instance is removed before entry delete callback is called,
invalid memory access will be happened.
Acutally this's broken memory.
So prevent this scenario by correcting function call order.
@fix
Changed item concept that only one item can represent the enventor object.
I'd thought multiple editors of Enventor could be active at the same time,
but it brought Enventor Lib has over-concept feature,
because Enventor App doesn't support it so far.
This properly switchs a current focused item view on realtime.
That means, when user switch files, it will display the first group
view in a new selected file.
Now it works on search/replace.
API changes.
Below object APIs replaced with item APIs.
enventor_object_text_get()
enventor_object_text_insert()
enventor_object_selection_get()
enventor_object_cursor_pos_get()
enventor_object_cursor_pos_set()
enventor_object_select_none()
enventor_object_select_region_set()
enventor_object_syntax_color_partial_apply()
enventor_object_syntax_color_full_apply()
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