Commit Graph

11 Commits

Author SHA1 Message Date
Andy Williams 3ce607322b elm_code editor: handle tabs when deleting
Make sure we're at the right position when we delete, backspace
or split lines with tabs in them
2015-03-30 20:07:45 +01:00
Andy Williams e0e0eaa32c elm_code: Support rendering tabs
Add a tabstop configurable value so the view can be adjusted.
shuffle all content and tokens along when a tab is encountered.
2015-03-29 20:12:28 +01:00
Andy Williams 08daaed1f5 elm_code: Cut, copy and paste working
Current limitations that paste is into a single line
2015-03-28 17:57:47 +00:00
Andy Williams eee6e3c411 search: Update replace for elm_code selection code
That should be search and replace completely ported now
2015-03-28 16:05:36 +00:00
Andy Williams 94642cac2d elm_code selection: Support selection deletion
In the widget we always delete the selection if typing begins.
If delete or backspace was pressed don't execute the keystroke after.
2015-03-28 15:17:08 +00:00
Andy Williams 71b80a1547 elm_code selection: complete multiline text get
ready for copy and cut functions
2015-03-25 22:55:32 +00:00
Andy Williams fabfa95d06 elm_code selection: support two line selection 2015-03-25 22:17:41 +00:00
Andy Williams 35866daf6a elm_code selection: test and implement single line
Multi line selection still to come
2015-03-25 21:55:00 +00:00
Andy Williams ef4e5ee686 elm_code selection: move cursor to selection 2015-03-22 22:28:07 +00:00
Andy Williams 6509d5c1d6 elm_code selection: Input selecttion from mouse
When editable allow dragging the cursor with a mouse button
down then set up a selecttion.
2015-03-18 22:24:56 +00:00
Andy Williams e4cf9ed41a elm_code: selection highlighting
Adding initial support for displaying selection within the widget
2015-03-17 22:42:03 +00:00