Commit Graph

733 Commits

Author SHA1 Message Date
Andy Williams ace8350ac2 highlighting: clear errors that no longer apply
Also refresh more regularly now it's faster
2015-03-27 23:55:17 +00:00
Andy Williams 4f8ece09cf clang: save errors and display if clicked
Using a gutter click in elm_code to print to console for now
2015-03-27 23:54:28 +00:00
Andy Williams bf53022adb Note that a fix is now temporary 2015-03-27 23:45:23 +00:00
Andy Williams 2b9e4e428f elm_code file: test windows with new eina fixes
Should pass from eina 1.13.99
2015-03-27 21:45:43 +00:00
Andy Williams e4164d279d fix wrong types / names 2015-03-25 22:59:42 +00:00
Andy Williams 87e2f2b0e8 elm_code selection: complete multiline text get
ready for copy and cut functions
2015-03-25 22:55:32 +00:00
Andy Williams 514a796ac3 elm_code selection: support two line selection 2015-03-25 22:17:41 +00: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 ba5a31b884 Merge branch 'master' into elm_code 2015-03-25 20:52:14 +00:00
Andy Williams 4db1c2b826 settings: Fix compile error due to wrong type name 2015-03-25 20:48:41 +00:00
Andy Williams ec720855ac elm_code: Remove accidental dep on efl-git 2015-03-25 14:05:47 +00:00
Andy Williams ff0e5323b5 editor: Delay goto until we've loaded the ui 2015-03-23 22:36:29 +00:00
Andy Williams 4fc9748db3 elm_code: add text search functions.
Update the search and replace UI to work with the new elm_ode UI.
2015-03-22 22:36:04 +00:00
Andy Williams 4c8b09de04 elm_code selection: move cursor to selection 2015-03-22 22:28:07 +00:00
Andy Williams fb7dab9c90 editor: fix goto line
broke during elm_code migration, working again
2015-03-21 21:56:59 +00:00
Andy Williams 4583d2d800 testpanel: fix crash for short log lines
And correctly highlight test failures
2015-03-21 21:55:28 +00:00
Andy Williams 8eb3978c1e elm_code widget: fire user change events
This does not yet have a "change" attached so does not
support undo/redo yet
2015-03-21 20:04:12 +00:00
Andy Williams 4aa3defb30 editor: save using elm_code's new save method 2015-03-21 19:53:21 +00:00
Andy Williams f7f257fca4 elm_code file: add save method to write out lines
use a temporary file as we may have mapped the data directly.
2015-03-21 19:25:25 +00:00
Andy Williams a671101a09 elm_code file: get line ending chars
Quickly add support for the line end character sequence.
Just windows and Unix now, as per the enum defined.
2015-03-21 13:58:30 +00:00
Andy Williams c29c9c5133 editor: display the line endings for the file 2015-03-21 13:56:27 +00:00
Andy Williams adcff7bde3 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 59450c71f2 elm_code whitespace: only display actual newlines
No newlines at the end of a file if there is no other line
2015-03-18 22:18:34 +00:00
Andy Williams 331e60969f elm_code: selection highlighting
Adding initial support for displaying selection within the widget
2015-03-17 22:42:03 +00:00
Andy Williams 6d55e32c0c elm_code file: detect line endings
Check for Windows otherwise default to unix for now.
2015-03-15 23:07:31 +00:00
Andy Williams 8bbec0decd Fix issue referencing missing file 2015-03-15 22:30:13 +00:00
Andy Williams a446620cfc Update news for 0.0.2 2015-03-15 22:29:08 +00:00
Andy Williams ec427d2ba4 Merge branch 'master' into devs/ajwillia-ms/elm_code 2015-03-15 19:08:26 +01:00
Andy Williams bd3dc4247d elm_code unicode: highlight tokens correctly
When encountering unicode characters make sure we highlight
in the correct columns rather than at the byte locations.
2015-03-14 16:42:56 +00:00
Andy Williams 0509eb1841 settings: configure the display of whitespace
Refresh this when config changes
2015-03-14 13:10:38 +00:00
Andy Williams 04ec5efa24 welcome: Fix launch crash issue on some systems 2015-03-12 00:52:41 +01:00
Andy Williams f137cc5321 editor: fix issue with closed tabs 2015-03-15 13:27:15 +00:00
Andy Williams 8730b4dfb3 config: Update editor when font size changes 2015-03-08 22:28:21 +01:00
Andy Williams b97da3b70a Merge branch 'master' into devs/ajwillia-ms/elm_code 2015-03-08 22:27:38 +01:00
Andy Williams e62ddd5bc1 config: add settings screen
Add a new autosave flag, upgrade config so it's set.
Listen to a config_changed event to update UI where required.
2015-03-08 22:14:25 +01:00
Andy Williams fcac809e97 gui: break toolbar in 2 so we can right align.
Not perfect as there's a visible break, further attempts
will need a custom theme.
2015-03-08 22:04:00 +01:00
Andy Williams bda40e5f65 elm_code editor: fix crash backspacing last line
fill an empty line if we're deleting the last line
2015-03-08 12:07:29 +01:00
Andy Williams 9f332be6fe elm_code edit: split content on newline.
Tokens also need to be split so this is text only for now
2015-03-08 11:52:12 +01:00
Andy Williams 2f25503f8f elm_code widget: backspace or delete merges lines
This is text only for now but serves as editor foundation.
2015-03-08 11:33:07 +01:00
Andy Williams ecb35beb30 elm_code line: move freeing to the line file 2015-03-08 11:15:31 +01:00
Andy Williams ff68af7076 elm_code line: unsigned int for length 2015-03-08 11:14:02 +01:00
Andy Williams afeab4b53b elm_code edit: support backspace and delete.
don't propogate backspace as other widgets use it to navigate
adjust tokens left when we remove content and remove if 0 width token.
2015-03-08 09:44:26 +01:00
Andy Williams 8f668b2deb elm_code unicode: update when editing
issues here with inserting unicode which I need to get to
2015-03-07 22:35:59 +01:00
Andy Williams b392a21362 Add initial unicode support for elm_code
Note the number of utf8 characters when we load the data.
Make sure the widget is referencing unicode_length
for all our metrics.
2015-03-07 20:48:02 +01:00
Andy Williams 1978da98cf elm_code editor: adjust tokens when we insert text 2015-02-28 22:50:18 +00:00
Andy Williams f354c9a8b2 elm_code demo: Show multiple widgets for one code.
Illustrates that we can display a single elm_code in many widgets
2015-02-27 15:33:06 +00:00
Andy Williams b28773a7f6 Merge branch 'master' into devs/ajwillia-ms/elm_code 2015-02-27 15:13:06 +00:00
Andy Williams 0c2819bd4f editor: update to latest elm_code and show whitespace 2015-02-28 16:28:22 +00:00
Andy Williams 7ed4aa9695 Merge branch 'master' into elm_code
Conflicts:
	elm_code/src/lib/elm_code_diff_widget.c
2015-02-28 15:31:57 +00:00
Andy Williams 3e5de50399 elm_code widget: add show_whitespace option
display items for space, tab and newline if requested
2015-02-28 14:59:42 +00:00