Commit Graph

256 Commits

Author SHA1 Message Date
Andy Williams def75fb0e8 elm_code: Fix build for updated eolian_gen output 2016-05-19 22:17:52 +01:00
Andy Williams e16ab050c8 elm_code: Fix undo code for deleting tab
When character can take up more than 1 column we had to
handle delete and backspace with care
2016-05-18 23:36:47 +01:00
Andy Williams e0e4e5f952 elm_code: Revert an optimisation to fix a crash
We made an assumption about the order lines were added.
It wasn't true...
2016-05-17 23:20:35 +01:00
Andy Williams ce2540b6e4 elm_code: Fix crash when tabbing in a small widget
avoid placing cursor outside of our column width
2016-05-17 17:25:28 +01:00
Jean-Philippe ANDRE 0f0fa5f455 elm_code: unbreak previous commit
logs could not be scrolled anymore, because the
scroll cb would scroll back to the end.
2016-05-16 23:15:21 +09:00
Andy Williams 283b27b22e elm_code: ensure lines are visible when scrolling 2016-05-16 12:01:17 +01:00
Jean-Philippe ANDRE df2f46f5da elm_code: fix crash from previous commits
sorry! i'm afraid this is not 100% stable yet
2016-05-16 19:52:35 +09:00
Jean-Philippe ANDRE 898e9b2c68 elm_code: remove useless variable 2016-05-16 19:33:57 +09:00
Jean-Philippe ANDRE 5e39dd9be4 elm_code: Fix scroller size when appending new lines
This tries to optimize the new box size calc in case
we're adding a new line, by not walking all the objects
again.
2016-05-16 19:29:48 +09:00
Andy Williams 16f3bb9f9f [elm_code] don't double free standard parsers 2016-05-16 11:01:12 +01:00
Jean-Philippe ANDRE faf97a905c elm_code: Fix log test case
An uninitialized variable was causing all the trouble.
Somehow I believe this is not the complete fix, as
grid probably shouldn't be NULL.
2016-05-16 18:05:50 +09:00
Jean-Philippe ANDRE 69cb737f07 tests: add a test case for log viewer
there is a bug that i'm tracking down... this is a good
test case for it
2016-05-16 18:05:50 +09:00
Andy Williams 227f897185 Fix build for latest API 2016-05-14 11:20:08 +01:00
Andy Williams 38449347d5 [editor] fix issue where selections didn't refresh
Around the extremities of the ui it was possible
to not refresh correctly - fixed.
2016-04-28 22:51:03 +01:00
Andy Williams 932bf49291 [editor] Stop jumping around on click
If there were many errors in the file the visibility
calculations got screwy
2016-04-28 22:32:43 +01:00
Andy Williams b8665e1bae Update to latest eo specs 2016-04-24 22:48:58 +01:00
Hermet Park 6fc4e26c44 fix build break.
eo event interface has been changed.
just updated it.
2016-04-14 10:48:33 +09:00
Hermet Park 411927a002 remove duplicated variable declaration. 2016-04-09 09:48:15 +09:00
Andy Williams 1971583e5e [help] Stub out a right-click-help UI
Not looking anything up yet but we're getting started
2016-04-07 17:44:12 +01:00
Andy Williams 29d70a22fd [selection] split words on * and & also
Pretty important for C...
2016-04-07 17:43:31 +01:00
Andy Williams a35a1dccbe [editor] fix line geometry when scrolled 2016-04-07 16:27:20 +01:00
Andy Williams 7a9241458a [editor] move tooltips to inline error meessages
Not perfect on refresh times but much easier to read than before
2016-03-30 16:48:48 +01:00
Andy Williams bec0d3085c [editor] split out the grid into rendered rows.
This allows cool stuff to be inserted in between the rows
2016-03-30 03:58:39 +01:00
Andy Williams a45352346e Fix the local lookup of diffs in the test app.
This is not portable but I think it's a temporary app anyhow
2016-03-22 13:10:04 +00:00
Andy Williams 8ca0be69f0 Update to latest eo_add syntax 2016-03-18 19:43:30 +00:00
Andy Williams b3a9bd0f2c Update to latest eo syntax
Thanks for the script Tom :)
2016-03-10 00:06:50 +00:00
Andy Williams 7821032380 Fix make dist 2016-03-08 22:54:27 +00:00
Andy Williams cfdbc6b542 Update to new eo event callback signature 2016-03-01 21:20:15 +00:00
Andy Williams 0772f3e8bc [editor] draw line width marker after file end
A ore uniform look if the marker goes all the way down the screen
2016-02-25 21:12:51 +00:00
Andy Williams 76af132619 [editor] a bunch of optimisations for redraw
Avoid drawing too much in many common scenarios
2016-02-25 21:12:51 +00:00
Andy Williams 5b1a45cf45 [editor] add delete and backspace undo hooks 2016-02-21 23:46:10 +00:00
Andy Williams 5dc607ecea Complete the ending newline crash fix 2016-02-21 18:48:07 +00:00
Andy Williams 4a4dc31f9f Fix crash when undoing a soft tab insert 2016-02-21 18:39:43 +00:00
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 9c9b92cada [editor] Fix crash when deleting selections
If the selection ended in the carriage return the
editor could craash.

@fix
2016-02-21 18:03:29 +00:00
Andy Williams dbbcff2a3d [editor] various tidies
use flag for todo status, ignore escape key when tapped.
Fix some build warnings due to double inclusion.
2016-02-21 17:51:56 +00:00
Andy Williams 49fa89dc03 [editor] stop auto selection on symbols too 2016-02-15 23:51:51 +00:00
Andy Williams 55ecf31ccd [editor] double click and triple do selections
double for a word (space or tab delimited for now)
triple selects whole line.
2016-02-15 22:54:12 +00:00
Andy Williams 47651ec2cc Elm_Interface_Atspi_Text changed to Elm.Interface_Atspi_Text.
@author conr2d
2016-02-15 17:22:00 +00:00
Tom Hacohen 492e3e7609 Fix out of source builds. 2016-02-09 09:11:26 +00:00
Andy Williams 557fb79396 [editor] Support space insertion instead of tabs
Elm_Code support and option in Edi to use spaces when the
Tab key is pressed - make this default too.
2016-02-09 00:32:16 +00:00
Andy Williams 843e222203 Fix maybe-uninitialized warnings 2016-01-17 17:51:13 +00:00
Andy Williams b42318aaf5 Supress libtool warning on windows
Thanks to Vincent Torri for the patch
2016-01-17 17:48:07 +00:00
Andy Williams f403f70330 [elm_code] Update line status icons for additions
Missed a warning line and the addition of TODO as well
2016-01-16 18:21:32 +00:00
Andy Williams 193f17be2b [whitespace] Fix indentation after newline when splitting.
Make sure that whitespace to the right is ignored
2015-10-10 14:09:02 -07:00
Andy Williams 833179ab49 [editor] Show a highlight for the current cursor line 2015-10-10 12:10:47 -07:00
Andy Williams 4358717dd9 Update to efl on git 2015-09-29 00:30:31 +01:00
Andy Williams 2297e250bc [highlight] Merge highlight tokens on line merge
Instead of blanking colours we append them as with the content.
2015-09-20 10:59:52 +01:00
Andy Williams 55d20b1cbc [highlight] Split highlight tokens on line split
Instead of blanking colours work out what to do with them.
Refactor the token carry over to simply note if there's a continuation.
2015-09-20 10:39:33 +01:00