Commit Graph

31 Commits

Author SHA1 Message Date
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole 24f9dc79fa search: fix segv on wrap!
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5032
2017-07-22 18:35:13 +01:00
Al Poole 5bba0073ed editor: replace refactor to coincide with search optimisations.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Tags: #edi

Differential Revision: https://phab.enlightenment.org/D5003
2017-07-08 22:05:16 +01:00
Andy Williams ddce7ca448 search: Reset search highlights on cancel
Also fix the highlighting of all matches on a line
2017-07-05 22:02:38 +01:00
Andy Williams 5181c2219e search: highlight each found search result 2017-07-05 21:42:48 +01:00
Al Poole 9677bb4b86 general input: work around elm_entry assuming markup in input.
Test Plan: Run Edi, start a debug session. Print prt to struct member e.g. "print m->file", stops conversion to "->"

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Tags: #edi

Differential Revision: https://phab.enlightenment.org/D4976
2017-06-18 22:56:56 +01:00
Andy Williams 35f6df6309 Use correct future API 2017-04-26 19:27:32 +01:00
Andy Williams 4e39afb6db Fix issue where replaced items could not be undone.
Note that this needs a not-yet-released efl change ;)
2017-04-26 18:37:39 +01:00
Al Poole c3bf4d86aa Mostly working...
Summary:
Problems occur when you change the search term and then
it wraps around...

Test Plan: Blast it!

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4724
2017-03-23 23:58:55 +00:00
Andy Williams 77eb19ce4f search: Show a notification that we wrapped search 2017-03-19 13:18:23 +00:00
Andy Williams 020f9ab3d7 fix whitespace 2017-03-19 12:50:32 +00:00
Andy Williams 92062043a4 search: Fix off by one/utf8 issues in replace 2017-03-19 12:50:07 +00:00
Al Poole 4315743706 @fix for T1852
Summary: Search should wrap around.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4722
2017-03-18 22:48:32 +00:00
Andy Williams b85f66f14a search: Fix multiple search and bringing offscreen matches in 2017-01-22 09:56:44 +00:00
Andy Williams 3f76c4d290 elm_code: update parameter order 2016-12-12 08:30:59 +00:00
Andy Williams 9a0b7e8d53 ui: Reset search term when activating search 2016-11-26 02:20:35 +00:00
Andy Williams 2262d7bf1c elm_code: Removed and migrated to using the elementary merged version 2016-06-10 10:03:40 +01:00
Andy Williams 66b6e889fd remove trailing whitespace 2016-02-11 14:20:01 +00:00
Andy Williams 3f86407481 elm_code: consistently use 0 based text index
This means it's more familiar as regular string work when
using the elm_code_line APIs. It's also more distinct from
the elm_code_widget layout which is still 1 based columns.
To support unicode we must convert correctly.
Now FIXED!
2015-06-03 21:29:31 +01:00
Andy Williams e3ed8806c3 elm_code: add legacy API.
Refactor eo API in line with elm_obj_* elsewhere
2015-06-02 08:22:36 +01: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 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 3a3bf2b6db editor: Control the auto-save function locally so we can re-sync with clang.
This should mean that highlighting, whilst still slow and flickery, does not corrupt.
2015-02-08 23:22:16 +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 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 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 85661fc2a6 Add/remove the serch panel as elm calculations are not working if we just how / hide 2014-07-19 20:28:14 -07:00
Andy Williams a25b043761 Move search UI into a panel at the top of the editor.
Correct search to work across multiple tabs within one Edi instance. Fix various issues around searc.
2030-07-12 21:12:05 +01:00
Andy Williams ce8b9a8b93 Scale windows per elm scale configuration 2014-05-19 23:52:50 +01:00
Andy Williams dd4759d1b1 Scroll found text onto screen even horizontally.
A few other minor search enhancements
2014-03-15 13:17:24 +00:00
Andy Williams 3deedfeeb8 Added simple search function based on Ecrire's Find/Replace 2014-04-30 23:06:16 +01:00