Commit Graph

1396 Commits

Author SHA1 Message Date
Kelly Wilson 4b81c21639 Merge branch 'horizontal_scroll'
Don't run clang highlighting when only scrolling horizontally.
2015-02-01 16:21:08 -07:00
Kelly Wilson 7aa36c6471 Edi_welcome.c: Ability to delete project
Added the ability to delete a project on the welcome screen via an 'x' beside the project name in the 'Recent Projects' list.
2015-02-01 15:15:14 -07:00
Kelly Wilson 22cfc584d6 Edi_editor.c: Fix segfault
Fix a segfault when opening a file in a new window and then pressing a key without any other interaction. Simply check if item is null and return without action if it is.
2015-02-01 09:09:25 -07:00
Kelly Wilson a64ea17e68 Fix horizontal scroll highlighting
This small change just bypasses highlighting if there is a y scroll. Vertical scrolling still updates the highlighting.
2015-01-31 12:24:25 -07:00
Andy Williams 02bb3db148 Expand skeleton.tar.gz and substitute replaceable text with variables.
Added year and some AUTHORS content too
2015-01-31 15:34:02 +00:00
Andrew Williams 68679607e6 Merge pull request #1 from wilsonk/mainview_focus
Fix things so that opening a new file also grabs the focus.

Add to AUTHORS file also.
2015-01-30 18:03:20 +00:00
Kelly Wilson f33bd458c9 Fix things so that opening a new file also grabs the focus. Add to AUTHORS file also. 2015-01-30 08:39:54 -07:00
Andy Williams 8c8a890d58 Cleaner test output, add click on test failures.
Open a file at the location of the test failure if detected
2015-01-30 00:08:12 +00:00
Andy Williams 2b1afc7179 Merging in line numbers feature.
Start a new section of code for text layout.
Formalise and style the "gutter".
2015-01-29 18:54:04 +00:00
Andy Williams 1995b167e5 elm_code: Update style and alignment of gutter 2015-01-29 14:05:20 +00:00
Andy Williams 4686fd172c elm_code: And complete the line number render first case.
Next some styling would indeed be nice...
2015-01-29 00:50:07 +00:00
Andy Williams 47f02e2dd6 elm_code: Merge n scrolling work from branch 'elm_code'
This now replaces the previous consolepanel and all the 'tailing'
panels are elm_code. The click function is still there but the
mouse cursor is not yet re-instated.
2015-01-29 00:39:36 +00:00
Andy Williams f6b7a380df elm_code: initial work on line numbers 2015-01-29 00:36:28 +00:00
Andy Williams 3cd5ec7003 Replace consolepanel with elm_code.
It may not have the nice cursor but it's quicker and scrolls correctly :)
2015-01-28 22:40:49 +00:00
Andy Williams 155c18c141 elm_code: Fix click calculations.
We must take into account our scroll position and also where we are positioned
within the screen layout
2015-01-28 22:38:49 +00:00
Andy Williams ae12a8406c Add proper gravity control when lines are being added to the widget.
Most useful will be (0.0, 1.0) which will cause the display to act like 'tail'.
2015-01-28 14:16:46 +00:00
Andy Williams a0938ce656 Merge branch 'master' into elm_code
Conflicts:
	elm_code/lib/elm_code_widget.c
2015-01-28 00:43:57 +00:00
Andy Williams 485443240c elm_code: update scroller so content fills space.
We want to extend backgrounds under scrollbars but only scroll if it's too big.
2015-01-28 00:39:56 +00:00
Andy Williams 3d65bbc456 elm_code: When appending lines ignore widget size now we're scrolling 2015-01-28 00:20:58 +00:00
Andy Williams d65bc3bce9 windows support: remove the last fork 2015-01-27 22:41:36 +00:00
Andy Williams 203f2619e1 Fix crash when creating a new file 2015-01-27 22:31:12 +00:00
Andy Williams be7119c787 elm_code: Update resizing to reflect only the space that's required 2015-01-27 22:13:59 +00:00
Andy Williams 61912e962a Allow up/down/left/right to participate in focus control.
When we cannot move within the cursor availability then note it
the callback from elm will see if the event should be propagated so we
report the veto when we're contained or allow propagation when we overrun
2015-01-27 17:02:45 +00:00
Andy Williams 576c2aa954 Add TODO note to list 2015-01-27 17:02:45 +00:00
Andy Williams 12944ecaa3 Update TODO with recent changes 2015-01-27 17:02:45 +00:00
Stephen Houston fc3b6963c7 Elm_Code: Keep up with min size so scroller works properly. 2015-01-27 10:43:32 -06:00
Andy Williams ba60959058 And document the wiget API 2015-01-26 23:09:22 +00:00
Andy Williams 09ac58f30e Bind up/down/left/right to cursor control.
Add a veto callback that blocks the up/down hitting the focus manager. This needs to be improved so once we hit the top / bottom it will pass on
2015-01-26 19:46:30 +00:00
Andy Williams 874101aeb1 Merge in key_down fixes from branch 'devs/ajwillia-ms/elm_code' 2015-01-26 19:06:27 +00:00
Andy Williams 50c5cb572b Refactor eo widget2 to widget - update in edi too 2015-01-26 19:05:34 +00:00
Stephen Houston a90e8cf789 Elm_Code: For box to get key down, it needs to have a child receiving key down. 2015-01-26 10:28:04 -06:00
Andy Williams 159c47d340 Port everything to use new widget API. Remove old widget API 2015-01-26 14:00:37 +00:00
Andy Williams f236f78cd4 Manipulate the position of the cursor.
When clicking in edit mode just change the position of it to where was clicked.
Known issue that this does not work with the keyboard
2015-01-25 23:15:37 +00:00
Andy Williams d017c06339 elm_code: Add focus support for the elm_code widget.
Hook into the internal elementary API to be part of the focus chain
2015-01-25 17:18:21 +00:00
Andy Williams 29f683d084 Complete port of elm_code widget to eo as widget2 2015-01-24 22:07:00 +00:00
Andy Williams 5e21f9da54 Fix eo and regen to generate the right code based on okra's changes.
We need to inherit from Elm_Box and not get in the way of smart resizing...
2015-01-24 08:26:09 +00:00
Stephen Houston 4ed86910af Elm_Code_Widget2: Inherit from box instead of layout since a layout is not provided. 2015-01-23 20:35:14 -06:00
Andy Williams 64b08570f0 Merge branch 'master' into elm_code 2015-01-23 23:42:07 +00:00
Andy Williams 664cff7d4d install our test diff for elm_code_test binaries 2015-01-23 23:41:53 +00:00
Andy Williams ada1529dce Let's open .eo files too 2015-01-23 23:31:28 +00:00
Andy Williams 3fb3564d05 Experimental eo commit - structure in place and it's resizing but won't render 2015-01-23 22:55:13 +00:00
Andy Williams 2249bcfc71 Adding replace support to our search bar.
Run a search first if one has not been, from then replace the current term and search again.
Submitted by Kelly Wilson
2015-01-18 17:36:12 +00:00
Andy Williams 1b1242a430 Merge in master 2015-01-17 22:08:16 +00:00
Andy Williams b39ac7c3f7 Don't allow users to open multiple project choosers.
Avoiding issues of trying to open a second project in 1 app instance.
Submitted by Kelly Wilson
2015-01-17 20:10:56 +00:00
Andy Williams 6a63044b30 Add a click handler for lines in a widget 2015-01-17 19:57:15 +00:00
Andy Williams e6ddefedd5 Tidying some more headers to try and get windows builds working 2015-01-10 17:55:04 +00:00
Andy Williams 01cb36f510 More updates to correct API/export declarations for Windows.
Various changes brought in. Patch from Vincent Torri - thanks
2015-01-10 17:43:12 +00:00
Andy Williams 3ab9857e52 Allow up/down/left/right to participate in focus control.
When we cannot move within the cursor availability then note it
the callback from elm will see if the event should be propagated so we
report the veto when we're contained or allow propagation when we overrun
2015-01-27 14:34:11 +00:00
Andy Williams ff2057b494 Add TODO note to list 2015-01-27 09:23:33 +00:00
Andy Williams 6dcfb21d3e Update TODO with recent changes 2015-01-26 23:30:17 +00:00