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
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
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>
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)
This is a side effect of partial syntax color updation.
Apply syntax color full updation if search mode is enabled.
and whenever word is replaced, repeat the syntax color full updation again.
apply syntax_color on whole texts if the scroll vbar is pressed.
so as if it's not on the partial text updating.
one more thing to do is,
applying multi-thread in this case to not block the user interaction.
Before this patch, it appended each lines number text separately to the line number entry when it reads an edc.
This caused the sizing calculation for every appending.
Now it appends the line numbers to one buffer,
and set it to the line number entry when all lines are readied.
Consequently, the sizing calculation time is much reduced at the edc reading time.