Commit Graph

1078 Commits

Author SHA1 Message Date
Andy Williams 5f55947048 Make incremental highlighting refresh a line at a time to reduce flicker on redraw 2014-12-08 21:03:06 +00:00
Andy Williams 4c6328c636 Improvement to incremental highlighting - its not fast but it will not get slower.
Next the refresh window needs to reduce and any edits should adjust the tokens we have loaded
2014-12-06 15:27:23 -06:00
Andy Williams d973bbd5c4 Improvement to incremental highlighting - its not fast but it will not get slower.
Next the refresh window needs to reduce and any edits should adjust the tokens we have loaded
2014-12-06 15:23:32 -06:00
Andy Williams 4e0b183f34 Fix up headers and tests to remove the exposure of some private methods.
Add some documentation whilst we're there too
2014-12-05 09:39:40 -06:00
Andy Williams d9c5fe08b9 Add a cursor to the view.
Create a backing data structure to start tracking more useful widget information
2014-12-05 09:20:11 -06:00
Andy Williams a36b687a47 Update the highlight code to refresh only what's on screen.
This is a temporary solution - saving CPUs mostly until elm_code is ready
2014-12-04 18:12:56 -06:00
Andy Williams fc4c86fe5e Extend config and use it to store window size and panel states.
Fixes T1856. Did not perform a config upgrade at this early stage - anyone caught in the update can just resize
2014-12-03 17:52:12 -06:00
Andy Williams 1fb649b732 Add a config system for remembering settings etc
.
Add a recent projects list to our welcome page which remembers what we open
2014-12-01 16:54:17 -06:00
Andy Williams 141a3a2107 Fix a crash bby removing some dead code.
Parsing will move to elm_code in the long term anyway
2014-12-01 13:11:29 -06:00
Andy Williams 5ec3492e36 Fix crash when highlighting multiple files in the background 2014-11-30 12:01:53 -06:00
Andy Williams 6fd2aed6f1 Update syntax highlighting to run in the background.
Hook the highlight runner into ctrl-s so you can get it to re-parse appropriately (this will be slicker with elm_code)
2014-11-30 16:25:11 +00:00
Andy Williams 5d858c938b Smoothen panel animations to work from current space if closing 2014-11-30 02:45:49 +00:00
Andy Williams 20655d2bf9 Fix bug with undo not operating on current tab - fixes issue T1853.
Seems like a weird bug in the smart callbacks as they would pass the wrong event data in!
2014-11-29 20:13:18 +00:00
Andy Williams e7b72e5b8b Fix crash when ctrl-pgdn beyond first file 2014-11-29 20:00:45 +00:00
Andy Williams acb4384502 Adding keyboard support for search box and improve focus control - resolves T1851.
Now when searching focus jumps to entry. Enter/return will execute search and escape will cancel it.
Also improve management of the search cursors too - don't leave text selected either
2014-11-29 19:44:08 +00:00
Andy Williams ccaefbc67f Use an Elm_Transit to animate showing and hiding of panels.
They still need to remember where users want them to expand to - requires storage setup
2014-11-29 19:06:02 +00:00
Andy Williams 41622aa840 Fix make check after refactoring of content_provider 2014-11-29 18:30:16 +00:00
Andy Williams 6143e0cfc1 Fix issue where first tap on bottom toolbar would not open the correct tab 2014-11-29 18:29:24 +00:00
Andy Williams 28fbe4cbb3 Fix issue where first tap on bottom toolbar would not open the correct tab 2014-11-29 18:16:57 +00:00
Andy Williams 896452e559 Merging in refactoring of elm_code file lookups and edi mime lookups.
Elm_Code file no longer required for elm_code to function (in memory is created automatically).
2014-11-28 23:53:23 +00:00
Andy Williams 2538f6cf90 Refactor mime type lookup and UI creation code to use a content_provider registry.
This is static at the moment but could be made dynamic to allow code to hook in new views
2014-11-28 23:34:36 +00:00
Andy Williams 04dda232b6 Use an in-memory file for new elm_codes by default.
This is overridden as before by calling elm_code_file_open which will free the previously set file on that elm_code instance
2014-11-28 08:55:42 +00:00
Andy Williams c9c2b5981d Fix the director parsing of build output.
It seems that different quotes are used so let's stop at the space and assume a sing quote of some sort follows
2014-11-25 23:17:29 +00:00
Andy Williams 933b54ebd3 Heading to a working windows build.
Copy fixes into Skeleton file too so that it creates libraries that work in the same way
2014-11-25 23:07:50 +00:00
Sanjeev BA fc6cd2e209 Fix the pattern to be matched for setting current_dir. Resolves edi crash on build errors.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>
2014-11-25 12:02:13 +09:00
Andy Williams 48236e79e3 Merge branch 'devs/ajwillia-ms/elm_code' 2014-11-23 00:20:49 +00:00
Andy Williams d0ad93e47a Render all filename headers in a diff widget 2014-11-23 00:19:36 +00:00
Andy Williams 32fd7043ca Open diffs in a new window if requested 2014-11-23 00:18:57 +00:00
Andy Williams 854ebe1566 Let's use a consistant font size 2014-11-22 22:55:57 +00:00
Andy Williams a6d1aa3204 Fix warning 2014-11-22 22:44:37 +00:00
Andy Williams 2ad6be9c99 Merge branch 'devs/ajwillia-ms/elm_code' 2014-11-22 22:40:03 +00:00
Andy Williams ba42d32d5e Add a simple diff widget based on an incoming diff file.
Load that into edi if we load a diff or patch file
2014-11-22 22:36:57 +00:00
Andy Williams 586bbb41aa Add an option to change the font size of our widget
demonstrate in the test and use it to make the logs more readable in edi
2014-11-22 19:14:53 +00:00
Andy Williams d7d0bad44c Small layout tweak to panels.
Bar controlling bottom panels should be same width as the panels
2014-11-22 16:52:14 +00:00
Andy Williams 7690ffe46d Merge master 2014-11-22 16:45:33 +00:00
Andy Williams 50732726d8 Merge branch 'devs/ajwillia-ms/elm_code' 2014-11-22 16:06:31 +00:00
Andy Williams 741bd31b0d Fix a test missed in move to mem-mapping 2014-11-22 16:01:43 +00:00
Andy Williams 22dc13effa Lay out the UI better so you can use with panels open
Changing from panels to panes - have dividers that are
moved around appropriately to simulate panel behaviour
without hiding the contents of a file being edited.
2014-11-22 15:56:16 +00:00
Andy Williams a06a9ce431 Moving the issues to phab 2014-11-19 23:51:09 +00:00
Andy Williams c78855fe22 Moving the issues to phab 2014-11-19 23:50:42 +00:00
Andy Williams 69f121789e Fix a test missed in move to mem-mapping 2014-11-19 23:20:23 +00:00
Andy Williams 7bfce6aadc Fix minor issues I saw in passing 2014-11-19 22:42:19 +00:00
Andy Williams df1d7def50 Fix a memory corruption issue on some systems 2014-11-19 22:42:08 +00:00
Andy Williams 822ef10934 Actually use the eina_file memory mapping
Any appended or modified lines need to be stored seperately.
Always check for modified content before using the memory map from the
backing file.
2014-11-19 22:39:00 +00:00
Andy Williams f8896b1f54 Fix minor issues I saw in passing 2014-11-19 22:37:00 +00:00
Andy Williams 75bcfe3d80 Fix a memory corruption issue on some systems 2014-11-19 22:35:01 +00:00
Andy Williams 2387ceac88 Fix render test and an end of line corner case 2014-11-18 23:47:12 +00:00
Andy Williams cb79a06615 Fix render test and an end of line corner case 2014-11-18 23:46:24 +00:00
Andy Williams 86856485bd Merge branch devs/ajwillia-ms/elm_code 2014-11-18 23:04:19 +00:00
Andy Williams 4748f81023 Add some text mode icons to markup the lines for now 2014-11-18 22:48:37 +00:00