Commit Graph

606 Commits

Author SHA1 Message Date
Andy Williams c0654b6c4e clang: remove debugging 2015-04-12 16:47:53 +01:00
Andy Williams 6fc3da889b Fix crash where clang encounters too many errors 2015-04-12 15:39:47 +01:00
Andy Williams 3dcae78dfc elm_code: Correctly delete tabs when mid-tab
Delete at least 1 char and move cursor to the beginning of the tab
2015-04-07 23:09:16 +01:00
Andy Williams 4a84ad94ba elm_code: Fix position calculations at line end
Addresses random NULLs in content after newline
2015-04-07 23:05:47 +01:00
Andy Williams a2dd4b1176 elm_code: bring widget_text into widget object 2015-04-04 19:01:05 +01:00
Andy Williams 820bb1622e elm_code: refactor widget to seperate space.
Keeping the private files for elm_code cleaner
2015-04-04 18:17:01 +01:00
Andy Williams a8e45be3a1 editor: Add a tooltip popup if you hover over a line with a warning attached 2015-04-04 17:51:39 +01:00
Andy Williams ce2545db25 editor: Fix performance of loading large files 2015-04-02 22:48:23 +01:00
Andy Williams 008246d936 editor: Fix performance of adding deleting lines
removed the numerous callbacks that were not needed
2015-04-02 00:32:16 +01:00
Andy Williams ba5d65d617 Summarise the changes that elm_code editor brings 2015-03-30 23:54:24 +01:00
Andy Williams c81041ef6a elm_code editor: Fix bug with newlines
Badness introduced with the tab work was padding lines with NULL
2015-03-30 23:36:28 +01:00
Andy Williams ab0d49022c 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 a202872986 elm_code: fix tests to provide elm_code widget
Required by new tab rendering changes
2015-03-29 20:52:38 +01:00
Andy Williams efec7c1f37 editor: add tabstop configuration
Allow setting of the tabstop. App wide for now.
2015-03-29 20:40:24 +01:00
Andy Williams 531d369c5e elm_code: Fix minor mistakes with tab commit 2015-03-29 20:39:26 +01:00
Andy Williams 25bac0c581 elm_code editor: display cursor over selection
If they overlap it's good to know where text will appear
2015-03-29 20:13:30 +01:00
Andy Williams 2d83c07840 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 2a4d4e17f0 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 d5e405b420 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 f330c48bce 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 f1571f296e settings: Allow configuration of line width marker 2015-03-28 00:45:20 +00:00
Andy Williams 2a1320d1f1 clang: tidy clang disposal and remove notes 2015-03-28 00:18:20 +00:00
Andy Williams b632e3abc0 tidy includes 2015-03-28 00:17:31 +00:00
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