Commit Graph

36 Commits

Author SHA1 Message Date
Thiep Ha 7767751c88 [Edje_Entry] Move cursor to correct position when selection handlers are pressed.
+ Main cursor should be moved to selection start or selection end
cursor's position when selection handlers are pressed.
+ Fix my mistake in signal emit for end handler mouse down event.

Conflicts:

	ChangeLog
	NEWS
2013-06-22 12:30:50 +09:00
Sebastian Dransfeld 336f6ec328 efl: formatting 2013-06-20 13:28:18 +02:00
Ryuan Choi a011fc1dd9 edje_entry: password entry should not be selected when doublc clicked
or tripple clicked.

selection should be allowed when select_allow is true whatever
select_mode is.

Reproduce step is below.
1. ELM_THEME=default-desktop ELM_PROFILE=standard elementary_test
--test-win-only "Entry Scrolled
2. double click on password entry.
2013-06-03 15:47:05 +09:00
Jihoon Kim 3eb79d3c3d Edje entry: return surrounding string until the start position of selection 2013-05-14 09:33:19 +09:00
thiepha (Thiep Ha) c38a2a6bb8 [Edje_Entry] Add selection handlers to entry
Add selection handlers to entry.

https://phab.enlightenment.org/D117

Conflicts:

	ChangeLog
	NEWS
2013-05-13 19:16:58 +09:00
Carsten Haitzler 8fc259371e emit keydown and keyup signals on keypresses in edje entry...
i'm addicted to this. :)
2013-05-07 12:08:47 +09:00
WooHyun Jung a248548712 ejde/edje_entry.c : commit_cancel should be EINA_FALSE when there is one or more characters in preediting string. 2013-04-29 12:46:22 +09:00
Jihoon Kim 2e0859f112 edje entry: remove duplicated ecore_imf_context_reset in adjusting the selection 2013-04-25 09:46:19 +09:00
WooHyun Jung beba98895a edje/edje_entry : When selected word exists, selection is cleared and cursor remains on the current entry by additional key input. 2013-04-22 23:34:25 +09:00
Jihoon Kim 6e767dd75b edje: remove useless ecore_imf_context_reset call in case of pressing ESC and Return key 2013-04-19 14:46:42 +09:00
Jihoon Kim d4f99c8ded edje_entry: fix typo in comment 2013-04-11 12:31:59 +09:00
Jihoon Kim 8261f03d85 edje_entry: fix formatting 2013-04-11 12:30:04 +09:00
Yakov Goldberg 7016872619 Efl textblock/entry: additions to split BiDi cursor
- handling multiple runs, multiple lines, last char of line/par
   - tests added

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
2013-04-10 14:59:48 +03:00
Tom 'TAsn' Hacohen a70abbb381 Efl textblock/entry: Added support for split BiDi cursor.
If logical cursor is between LTR/RTL text two cursors will be shown.
  Upper cursor is shown for the text of the same direction as
  paragraph, lower cursor - for opposite.

  NOT DONE YET

Signed-off-by: Tom 'TAsn' Hacohen <tom@stosb.com>
2013-04-10 14:58:32 +03:00
WooHyun Jung 9a64a3b46e edje_entry.c: When cursor is located to each edge, entry now doesn't grab events for cursor movement. 2013-04-10 13:49:12 +09:00
Cedric Bail a645c8153f edje: one less pointer per Edje_Real_Part. 2013-04-07 02:18:48 +09:00
Carsten Haitzler 22bccb7e1e Fix edje entry to resepct filter callbacks and not clear
selections if filters filter out all contents.
2013-03-29 19:42:54 +09:00
Jihoon Kim 8dda0883c1 edje: Add edje_object_part_text_input_panel_layout_variation_set/get API 2013-03-27 17:28:53 +09:00
Ryuan Choi fec755aef6 edje_entry: alt+home should not move to first letter. Patch by ryuan.choi.
When user pressed home and ctrl+home, caret is normaly moved to first letter.
But, it is not common behavior for alt+home.

For example, gedit does not have any behavior and urlbar of firefox open
home page when alt+home is pressed.
2013-03-27 16:30:11 +09:00
Jihoon Kim 2ee27ec6d5 fix bug scroll works when PgDn, PgUp, Home, End key in entry is pressed in preedit state 2013-03-06 09:26:44 +09:00
Jihoon Kim 49930b7b89 edje entry: set cursor position of selection start in selection mode 2013-02-28 15:08:00 +09:00
discomfitor f27ff2fbf3 fix damn edje entry anchor click signals: this fixes anchor clicking in elm_entry widgets when using a desktop profile which has been broken for over a year
ticket #1179
2013-02-17 14:18:46 +00:00
Jihoon Kim 01a6147288 edje entry : Fix bug candidate word couldn't be selected with up/down key in the preedit status
SVN revision: 83882
2013-02-14 08:03:52 +00:00
Jihoon Kim fcb1fc0e98 edje_entry: improve code about adding preedit tag
SVN revision: 83881
2013-02-14 07:56:18 +00:00
Jihoon Kim 504055db36 edje entry : fix bug not to display preedit string with PREEDIT_TYPE_NONE style
SVN revision: 83876
2013-02-14 02:09:21 +00:00
Jihoon Kim 4b1edd906c efl/edje_entry: support &, < and > in preedit string
SVN revision: 83575
2013-02-04 00:57:50 +00:00
Jihoon Kim 916ef25fe8 efl/edje entry : Remove ecore_imf_context_cursor_position_set in functions related to selection.
SVN revision: 83495
2013-01-31 01:01:33 +00:00
Jihoon Kim 7dd5b326d8 edje entry: move ecore_imf_context_cursor_position_set from mouse down event to mouse up event
SVN revision: 83318
2013-01-25 05:15:46 +00:00
Jihoon Kim 57103879f5 edje entry: remove ecore_imf_context_reset, cursor update in mouse move event because it's useless.
SVN revision: 83317
2013-01-25 05:10:47 +00:00
Jihoon Kim 56c020fbba edje_entry: fix warning by clang
SVN revision: 83033
2013-01-21 07:12:39 +00:00
Jihoon Kim 24079fcf54 edje entry: remove ecore_imf_context_reset in mouse up event because it's useless.
SVN revision: 82967
2013-01-18 08:08:30 +00:00
Jihoon Kim 7d237bcf01 edje entry: cursor position and location will be passed when it's really changed in case of mouse down, move, and up event.
SVN revision: 82922
2013-01-17 05:32:17 +00:00
WooHyun Jung 8e72f77b5f edje/edje_entry : When preediting text is removed by filter callback, committing is useless. So I added some codes for skipping that committing.
SVN revision: 82339
2013-01-07 11:17:55 +00:00
Gustavo Sverzut Barbieri 9b5958ce91 efl/edje: ecore_imf_init() only once.
use technique similar to elementary and delay init() of module, but
once you do, do it only once and avoid shutdown() until
edje_shutdown().

This is good if we keep creating and deleting edje objects with entry,
the count could go to 0 and ecore_imf_shutdown() would unload
everything, just to load it soon.



SVN revision: 82281
2013-01-05 16:17:53 +00:00
Gustavo Sverzut Barbieri 1108fc893b efl/edje: improve HAVE_ECORE_IMF conditional handling.
I wonder if we should still support no Ecore_IMF, can we make it
mandatory as it's always built with single-tree?




SVN revision: 82279
2013-01-05 16:07:59 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00