Carsten Haitzler
5a1f8fdf41
elm code - remove double set of textlen
...
analysis doesnt like it, but not a bug
found by PVS studio
2017-07-29 09:08:40 +09:00
Andy Williams
3b9e69e888
elm_code: Expose API for inserting text at cursor
...
widget operations use NULL terminated strings, backend does not.
Refactor some selection code so all selection deletions trigger
undo events (except where they should not).
2017-05-03 08:17:06 +01:00
Andy Williams
314f2763c6
elm_code: trigger user change event on applying an undo/redo
...
@fix
2017-04-07 23:36:29 +01:00
Andy Williams
c5dce45a95
elm_code: Expose whether or not undo and redo can operate
...
A quick peek at the stack will allow us to inform users
of the widget if operations will apply.
2017-04-07 18:14:31 +01:00
YeongJong Lee
4aee312774
elm_code: add support for redo
...
Summary:
now, elm_code support redo.
shortcut is <Ctrl> + <y>
Test Plan:
1. elementary_test - Code Editor
2. Check that undo and redo are work correctly.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4642
2017-02-02 18:29:16 +00:00
YeongJong Lee
928091bedb
elm_code: fix that selected code can't undo
...
Summary: Change some undo logic and remove unused function
Test Plan:
1. elementary_test - Code Editor
2. Select lines.
3. Remove selected lines.
4. undo removed lines(<Ctrl> + <z>)
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4631
2017-01-31 19:40:20 +00:00
Andy Williams
e0299f3510
elm_code: Fix parameter ordering for consistency
2016-12-12 08:29:51 +00:00
Tom Hacohen
e65aae994e
Eo: Finish the renaming of Eo to the EFL.
...
This renames all the rest of the API to the EFL namespace except for
Eo_Event that will follow soon.
Obviously breaks both API and ABI.
2016-08-15 15:07:42 +01:00
Andy Williams
6c0d51322b
elementary: Fix repeated undo of character deletion
...
Let's not trigger further undo stack changes when we undo changes.
2016-06-14 22:47:22 +01:00
Cedric BAIL
d384012307
elementary: merging in elm_code widget.
...
Theme is not there as it should be manually merged into the elementary
default theme.
2016-06-02 17:19:08 -07:00