Andy Williams
acd7b54473
[editor] begin re-adding the undo feature.
...
This is provided completely by elm_code so can be reused in other editors.
For now this is just text/newline insertion...
Still have to add undo for deletion and selection
2016-02-21 18:11:33 +00:00
Andy Williams
89cbb9daa0
easier debugging of ck_assert_strn_eq
2016-02-21 18:04:49 +00:00
Andy Williams
ddfd851635
[tests] Correct checking of just length chars
...
Avoid traversing beyond string length
2015-08-29 12:06:30 +01:00
Andy Williams
cfa86db750
elm_code: Fix tab behaviour following API changes
...
Moved the tabwidth calculations to widget as that's where
they actually make sense
2015-06-08 23:13:03 +01:00
Andy Williams
7489eb6e30
syntax: don't slow down by repeating tokens
...
Clear out the token list before each parse callback loops
2015-04-12 17:25:20 +01:00
Andy Williams
3ff415222b
elm_code selection: test and implement single line
...
Multi line selection still to come
2015-03-25 21:55:00 +00:00
Andy Williams
0e49f40ff3
elm_code: Support text insertion for simple edits.
...
Hook into the widget for elm_code_test and edi editors.
Only alphanumeric and space, but it's a start.
2015-02-22 20:07:08 +00:00
Andy Williams
f6f19be6cb
elm_code: focus: block focus leaving text area when editable.
...
As well as setting when we should not have focus leave us a theme has been added.
This allows us to extend from elm_entry which is better suited to us.
2015-02-14 18:49:51 +00:00