Commit Graph

399 Commits

Author SHA1 Message Date
ChunEon Park d93a8b2709 search - +find backward 2014-03-08 02:49:06 +09:00
ChunEon Park 455d7c0265 syntax_color - added a keyowrd "focal" 2014-03-07 12:57:20 +09:00
ChunEon Park 29144264c4 search - use "activated" smart callback instead of evas key event.
Entry provides enter key press event.
Simply enventor can use that event.
so that it doesn't need to check the key name in the event callback.

thanks jihoon kim for reporting.
2014-03-07 10:15:43 +09:00
ChunEon Park 422f96b297 search - on implementing find backward. 2014-03-07 00:57:03 +09:00
ChunEon Park c77cf29ec2 menu - close search window if the warning popup is showed at enventor exit. 2014-03-07 00:46:47 +09:00
ChunEon Park 94be5e3753 search - find a next word as soon as it replaced one word. 2014-03-07 00:35:34 +09:00
ChunEon Park acaca0129c search - improve usage
replace text if user press the enter key at the replace entry.
2014-03-06 23:26:44 +09:00
ChunEon Park 29220f99d9 syntax_color - added more keyword "data, item" 2014-03-06 21:53:43 +09:00
ChunEon Park 5c76c22614 search - fix the search window size. 2014-03-05 16:33:34 +09:00
ChunEon Park 70490cec70 search - fix the replace all misbehavior.
I missed the offset of the delta length between replace and find.
it found the position of the next incorrectly.
now it's fixed.
2014-03-05 03:15:33 +09:00
ChunEon Park f6e9eb495b search - change the find/replace function.
put the find forward, find backward instead of the find, find/replace

once, you replace the word, it will find the next word automatically.
2014-03-05 03:07:28 +09:00
ChunEon Park 1c3b249c14 search - add replace all function. 2014-03-05 02:52:06 +09:00
ChunEon Park 8e8603b33f search - on implementing.
find and replace works pretty well.
still "find/replace", "replace all" is not enough.
2014-03-02 20:38:27 +09:00
ChunEon Park 5c68216676 stats/hotkeys - set invisible state as default 2014-03-02 16:57:22 +09:00
ChunEon Park 1414c92397 search - on implementing find/replace 2014-03-02 16:52:53 +09:00
ChunEon Park 052876b7d3 refactoring - removed unnecessary object show calls.
Since the edje sets the visibility of the contents according to it's own layout description
we don't need to set the content visibility additionally.
2014-03-02 14:48:58 +09:00
ChunEon Park de8164bcb9 search - on implementing. 2014-03-02 13:34:22 +09:00
ChunEon Park 24d00b6125 menu - no need entry have style set here. 2014-03-02 04:24:19 +09:00
ChunEon Park 1175060055 search - on implementing find/replace 2014-03-02 03:17:34 +09:00
Daniel Juyung Seo e39f8674d3 editor - added missing function declaration. 2014-03-01 23:53:54 +09:00
Daniel Juyung Seo 373a23745e editor/search - fix build warnings as some of the codes were commented out. 2014-03-01 23:53:36 +09:00
ChunEon Park 06be86982c search - on implementing find/replace 2014-02-28 23:41:16 +09:00
ChunEon Park dd135280f6 search - implementing the gui 2014-02-28 02:45:49 +09:00
ChunEon Park 145549c201 editor - resolved recalculation edje err log message 2014-02-28 01:34:24 +09:00
ChunEon Park 4786fd67d3 editor - apply syntax color when you paste the text.
if the text was started with empty character, the syntax color won't be applied.
now it's fixed to check the string length additionally.
2014-02-28 01:07:06 +09:00
ChunEon Park 8835f7117c search - added missed header file. 2014-02-28 01:06:37 +09:00
ChunEon Park 144ec65ee6 edc_editor - set the default font size to the default entry size.
now editor doesn't need to customize the entry theme.
2014-02-27 16:29:23 +09:00
ChunEon Park f16fc6e53e syntax_color - support more keywords 2014-02-26 22:24:56 +09:00
ChunEon Park fb1b4d861f search - on implementing search function. 2014-02-26 10:36:53 +09:00
ChunEon Park c8e5b4d6c4 parser - as simple code as possible. 2014-02-26 10:03:23 +09:00
ChunEon Park 2847bfe4cb hotkeys - fix the init state of the toggle button icon.
previous, toggle button is always open states
but it should follow actual config state.
2014-02-26 09:45:15 +09:00
ChunEon Park b2ed0e516c hotkeys - removed reserved slots.
they will be added later with real contents
2014-02-26 09:41:14 +09:00
ChunEon Park e93ff21211 Merge branch 'master' of git+ssh://git.enlightenment.org/tools/enventor
Conflicts:
	data/themes/default/images.edc
	data/themes/default/images/Makefile.am
2014-02-23 01:04:26 +09:00
ChunEon Park 9178443524 search - start to implement search/relace 2014-02-22 15:24:53 +09:00
ChunEon Park 5000b3c3a2 about - adjust font size from 12 -> default 2014-02-22 15:10:50 +09:00
ChunEon Park e442bc8d4c hotkeys - improve ui. apply icons 2014-02-22 15:01:07 +09:00
ChunEon Park cb7c6f085f ctxpopup - adjust button size in the slider. 2014-02-22 13:53:26 +09:00
ChunEon Park bb22983b4b config - fix the side effect again.
caused by bd0d0008de.

the prefix should not fixed and function name is incorrect.

fixed.
2014-02-18 22:48:15 +09:00
ChunEon Park bd0d0008de config - fix the side effect that paths buf weren't intialized.
it's caused by 5b69d97f8c.
2014-02-18 22:38:02 +09:00
ChunEon Park 5b69d97f8c config - use the EET_DATA_DESCRIPTOR_ADD_LIST_STRING for paths i/o
it's better simple and easy. cool!
2014-02-18 21:11:47 +09:00
ChunEon Park ec5c4242bb config - default hotkey status is on. 2014-02-18 20:34:47 +09:00
ChunEon Park b229686519 config - override the paths only those are actually existed. 2014-02-18 20:34:03 +09:00
ChunEon Park f662c73b22 statsbar - save/load the hotkey status. 2014-02-18 20:14:15 +09:00
ChunEon Park f4c8ab7558 config - reuse the function as possible. 2014-02-18 20:10:00 +09:00
ChunEon Park e1ac55873e config - just sort up the func position. (static first) 2014-02-18 20:07:30 +09:00
ChunEon Park 4fe36539b0 config - use the eet_data_descriptor for streaming data io. 2014-02-18 20:02:39 +09:00
ChunEon Park fdc0868632 stats - refactoring code.
keep the func name consistency.
2014-02-18 14:42:30 +09:00
ChunEon Park 35605d5dd9 stats - update max line number if the edc is newly readed. 2014-02-18 14:39:52 +09:00
ChunEon Park de5139f31c config - place the enventor config foler in the XDG Config Home directory. 2014-02-18 11:47:09 +09:00
ChunEon Park 32aeb3ee48 hotkeys - toggle the hotkey button icon 2014-02-18 02:13:34 +09:00
ChunEon Park 6b3bbeb65b edj_viewer - keep the current viewport in the scroller while scaling up/down 2014-02-09 12:20:51 +09:00
ChunEon Park a6c73fcbf8 support ELM_ENGINE environemnt set for gl
gl backened is often used for test.
Until resolving all values reset by elm_config_profile_set().
we added this kind of workaround code.
2014-02-07 16:58:18 +09:00
ChunEon Park a1efe811bd config - override paths if img, fnt, snd, data paths are passed from command line. 2014-02-06 20:00:16 +09:00
ChunEon Park 6577232589 edj_viewer - set the min size multiplied with scale. 2014-02-06 19:43:56 +09:00
ChunEon Park 3522d0d25e editor/statusbar - let's initialize states according to the config value. 2014-02-06 18:55:51 +09:00
ChunEon Park 2318cd081f config - there are not intended. revert them. 2014-02-06 18:22:28 +09:00
ChunEon Park d47b69099d config - save/load config to eet 2014-02-06 18:19:59 +09:00
ChunEon Park c55c717404 base_gui - fixed mismatched func prototype declaration. 2014-02-06 14:52:36 +09:00
ChunEon Park 8a104efb39 edj_viewer - update the view min value for view scrolling. 2014-02-06 01:07:10 +09:00
ChunEon Park a9376c508a edj_viewer - added workaround code for weird text ellipsis.
when the view scale is changed, text ellipsis is applied even there is much enough area to display text.
i didn't see the reason enoughly but text itself makes the size smaller in ellipsis calculation time.
2014-02-06 00:49:18 +09:00
ChunEon Park 0e7f161e9d removed void delcaration as the parameter.
It doesn't mean that i don't agree on this.
But for code consistency i removed.
2014-02-05 20:27:03 +09:00
ChunEon Park 9cd77266d0 syntax_color - ++ellipsis 2014-02-05 19:39:34 +09:00
Daniel Juyung Seo 9262556d4e enventor - fixed all the build warnings and errors from refactoring commit. 2014-02-05 09:55:38 +09:00
ChunEon Park e0672e4ae5 statusbar - refactoring.
make it singleton style.
it's clear that statusbar has only one instance.
2014-02-04 22:45:41 +09:00
ChunEon Park 9d2e70f631 panes - fixed memory double free crash.
caused by this commit. 29e4aa94c6
2014-02-04 22:23:14 +09:00
ChunEon Park d72b0756d2 edj_mgr - refactoring.
removed edj_mgr instance handling outside of the edj_mgr.
edj_mgr is also singleton instance.
don't need to handle the instant unnecessarily.
2014-02-04 22:20:40 +09:00
ChunEon Park 542e2a9075 enventor - code clean up.
hide data types as possible.
2014-02-04 21:48:06 +09:00
ChunEon Park 29e4aa94c6 panes - refactoring.
it's now singleton style.
only base gui access this panes internally.
2014-02-04 21:37:49 +09:00
ChunEon Park 13d1a9f2c8 statusbar - ellipsis group name when the string is long. 2014-02-04 19:18:43 +09:00
ChunEon Park 21e992a341 statusbar - use a exist function for setting initial cursor position. 2014-02-04 17:58:07 +09:00
ChunEon Park 79eb7b7f88 modify gui.
display file path on the window title not on the statusbar.
2014-02-04 17:55:56 +09:00
ChunEon Park afb618365a refactoring.
Added base_gui for handling basic window, layout and panes so that other files refer them.
2014-02-04 17:20:39 +09:00
Daniel Juyung Seo 34f3e57d9e enventor - fixed build warnings in build.c 2014-02-04 00:50:36 +09:00
Daniel Juyung Seo 7c5c7dd999 enventor - fixed build warnings. 2014-02-03 20:34:33 +09:00
Jihoon Kim fa85c1bf15 Use key not keyname for considering setxkbmap
ex> setxbmap -layout fr
In french layout, 'q' key will be replaced with 'a'. Therefore, key should be used instead of keyname.
2014-02-01 16:22:00 +09:00
ChunEon Park efab2b76a1 menu, config - hide internal structure type since they are private.
affected by these patchs

4fcf8eaef7
9af9369c79
2014-01-30 12:28:07 +09:00
ChunEon Park 9651c0dddd ctxpopup - rename part name for consistency. 2014-01-30 12:25:35 +09:00
ChunEon Park 3aefa8ff8a hotkeys - add a trigger button for hotkey gui enable/disable 2014-01-30 12:18:31 +09:00
ChunEon Park 0f8a545b48 menu - removed redundant code.
there is no such style since dark theme has become default.
2014-01-30 11:44:23 +09:00
ChunEon Park faf6a5f803 hotkeys - enable f5, f6 hotkeys. 2014-01-30 03:17:59 +09:00
ChunEon Park f4f65b7fc9 hotkeys - code refactoring.
removed duplicated code by using a common func.
2014-01-30 02:59:51 +09:00
ChunEon Park f16c21a0dc menu - set global menu instance as possible as soon.
we aren't sure when the global menu instance is accessed in the future.
so make it safe as possible.
2014-01-30 02:49:22 +09:00
ChunEon Park 4fcf8eaef7 config - got rid of config instance handling outside of the config_data scope.
count config as a singletone instance also.
since we won't handle multiple configs in the enventor.
2014-01-30 02:45:10 +09:00
ChunEon Park b4b5c1b112 config - refactoring.
arrange function positions from static to external in a file.
2014-01-30 02:11:21 +09:00
ChunEon Park 93a82c8882 menu - code refactoring.
removed duplicated codes bu common funcs.
2014-01-30 02:05:51 +09:00
ChunEon Park 0f873f5f17 menu - code refactoring.
arrange the functions position from static to external in a file.
2014-01-30 01:46:02 +09:00
ChunEon Park f2e4f53c59 menu - don't need to return menu instance anymore.
menu is handled globally with the singleton way.
2014-01-30 01:19:29 +09:00
ChunEon Park 9af9369c79 refactoring - got rid of menu instance handling.
count menu as a singleton instance.
since we can not image multiple menus in the enventor.

now code is getting simpler.
2014-01-30 01:15:33 +09:00
ChunEon Park 39fb929aeb fix build break -- oops missed files.
added them all.
2014-01-29 22:29:45 +09:00
ChunEon Park 4542644e81 implementing hotkey menu 2014-01-29 22:28:02 +09:00
ChunEon Park 3024ee6cca refactoring - removed menu_opened variable from the main.
it's duplicated variable to require sync.
menu itself keeps the menu_open status.
2014-01-29 21:56:29 +09:00
ChunEon Park 92ed6d5e65 keep the current view scale even if new views are come. 2014-01-29 15:42:30 +09:00
ChunEon Park 98e6664c13 don't say any message if the scale value is not changed. 2014-01-29 15:08:44 +09:00
ChunEon Park 6ab7716874 apply gui to set the view scale in the option menu. 2014-01-28 15:22:26 +09:00
ChunEon Park 867c6bf2ed support view scale factor change.
use ctrl + mouse wheel up/down
2014-01-27 01:21:02 +09:00
ChunEon Park 967644fb2c improve panes left/right button gui. 2014-01-26 04:14:42 +09:00
ChunEon Park d404e197be enventor - more syntax color keywords 2013-12-31 11:29:47 +09:00
ChunEon Park f753843dc4 enventor - more syntax color keyword support. 2013-12-27 20:04:02 +09:00
Daniel Juyung Seo eaf349394d enventor - use eina_stringshare_refplace instead of
eina_stringshare_replace in case of both strings are stringshared.

Thanks to zmike.
2013-12-13 03:04:57 +09:00
Daniel Juyung Seo 27cb2ab4e7 enventor - use eina_stringshare_replace instead of eina_stringshare_add
+ del.
2013-12-13 02:30:44 +09:00
Ryuan Choi 234e37c519 Store last accessed path of load/save dialog to revisit next time.
Summary:
There are some use cases.
User may re-open dialog when wrong file are selected.
And user may want to save edc file which he loaded and modified.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D353
2013-12-12 21:54:39 +09:00
Cedric BAIL f4e52b15de autotools: update to simplified quicklaunch build. 2013-12-11 15:21:38 +09:00
ChunEon Park cafa7052de enventor - enable auto indentation 2013-11-28 12:58:34 +09:00
ChunEon Park f821df405a enventor - add a syntax color word. 2013-11-23 19:34:15 +09:00
ChunEon Park cfbfc6ee2f enventor - support color syntax "rotation" 2013-11-11 09:33:18 +09:00
ChunEon Park 61c8e00df6 enventor - specify the file lists those are included.
now make distcheck could be finished successfully.
2013-11-09 15:28:43 +09:00
ChunEon Park c4467b2d37 Revert "enventor - no more workaround code. it works now...?"
This reverts commit 27530e9d2d.

no, still it has the problem. when you insert the template code,
the cursor will be set to 0 position.
2013-10-20 02:26:52 +09:00
ChunEon Park 27530e9d2d enventor - no more workaround code. it works now...? 2013-10-19 00:28:50 +09:00
ChunEon Park 6b37c2b9de enventor - increase lines less 1 when insert template code.
since it doens't considered the current empty line, it increases the lines much more than 1.
2013-10-19 00:09:15 +09:00
ChunEon Park 4915eb89d0 enventor - fix the invalid object access.
don't delete callbacks if it failed to find new part object.
2013-10-18 23:50:46 +09:00
ChunEon Park 2d26f4ec5a enventor - update ctxpoup style along with dark theme. 2013-10-18 18:23:47 +09:00
ChunEon Park 2f474818af enventor - elaborate syntax color. 2013-10-18 17:01:51 +09:00
ChunEon Park 6f06d145e7 enventor - update the status of the cursor position correctly.
status of the cursor position should be updated whenever cursor is changed regardless of it's mechanism.
2013-10-18 14:58:40 +09:00
ChunEon Park 303bd779e1 enventor - no more support theme change.
now enventor works only on the dark theme based.
2013-10-18 13:41:47 +09:00
ChunEon Park 585755f100 enventor - fix the crash whenever u rename the group.
the envetor tried to create a new group layout whenever the group name is changed.

In the end, the layouts count is getting increased unnecessarily if user are renaming the group.

Now it only creates a new group layout after user saved the edc.
2013-10-15 02:30:36 +09:00
ChunEon Park 61711996f0 enventor - removed redundant code. 2013-10-15 01:25:33 +09:00
ChunEon Park 420c912188 enventor - optimize cursor updation.
don't try to update line number if the line number is same at the request time.
2013-10-14 13:23:57 +09:00
ChunEon Park 2382c61f79 enventor - disable auto indentation temporarily since it's unstable yet. 2013-10-10 22:59:51 +09:00
ChunEon Park 868cdd0eaa enventor - fix the dummy swallow object to be removed directly when swallow part is removed. 2013-10-08 00:02:05 +09:00
ChunEon Park 23bbac8eb9 enventor - removed a comment which is no more valid. 2013-10-06 21:27:37 +09:00
ChunEon Park 3203b77a90 enventor - removed redundant code. 2013-10-04 10:48:17 +09:00
ChunEon Park c250e5d8be enventor - code refactoring. removed duplicated lines. 2013-10-04 02:24:29 +09:00
ChunEon Park cfd507a792 enventor - more safe code. 2013-10-04 00:44:21 +09:00
ChunEon Park 4b39769738 enventor - fix invalid memoary allocation. 2013-10-04 00:28:27 +09:00
ChunEon Park 9281799193 enventor - --warning. 2013-10-03 23:10:47 +09:00
ChunEon Park dfa07864db enventor - fix the bugs that edj/edc didn't updated correctly when reload an edc file. 2013-10-03 21:38:51 +09:00
ChunEon Park 76dadccf00 enventor - removed redundant code. 2013-10-03 20:37:27 +09:00
ChunEon Park bc4cf45aaf enventor - refactoring code for build system. 2013-09-29 00:13:52 +09:00
ChunEon Park 414186a9d7 enventor - support theme change in the option
but panes bug eeeeek.
2013-09-24 02:29:46 +09:00
Daniel Juyung Seo 0d491c03a3 enventor - fix theme detect routine.
use elm_theme_get as well as ELM_THEME env variable.
2013-09-23 17:01:11 +09:00
Daniel Juyung Seo 543156a14b enventor - fix formatting before working on it. 2013-09-23 17:01:10 +09:00
ChunEon Park 089d7b781c enventor - elaborate font sizes. 2013-09-21 14:53:34 +09:00
ChunEon Park c89e5aaf31 enventor - elaborate edit color 2013-09-21 02:10:13 +09:00
ChunEon Park 85a868539a enventor - elaborate font style in dark theme 2013-09-21 01:47:05 +09:00
ChunEon Park c30ed2dbe8 enventor - elaborate status ui 2013-09-21 01:33:42 +09:00
ChunEon Park 09c62ee084 enventor - improve uis 2013-09-20 21:43:22 +09:00
ChunEon Park 609cc9cb59 enventor - support dark theme 2013-09-20 20:21:51 +09:00
ChunEon Park b091589cf6 enventor - reset the theme properly after profile set. 2013-09-20 15:27:47 +09:00
ChunEon Park 537f757ba9 enventor - fix crash to group switching. 2013-09-19 23:39:40 +09:00
ChunEon Park 7cf86e7ae1 enventor - try to load edj until it succeed. 2013-09-19 23:12:37 +09:00
ChunEon Park ba716569c2 enventor - support group template code 2013-09-19 22:51:19 +09:00
ChunEon Park 27593b3908 enventor - use macro for constant values to change the value simply later. 2013-09-19 22:38:16 +09:00
ChunEon Park 2c228080d4 enventor - decease line number correctly. 2013-09-19 22:29:19 +09:00
ChunEon Park baf3125f55 enventor - highlight part directly even if the group is changed. 2013-09-19 22:15:15 +09:00
ChunEon Park 6fe5a10817 enventor - clean the views when new edc file is loaded. 2013-09-19 21:42:42 +09:00
ChunEon Park 52e5e71e7d enventor - no don't delete the object 2013-09-19 21:05:22 +09:00
ChunEon Park 30218ea7dc enventor - cancel the thread when edc is reset. 2013-09-19 19:16:54 +09:00
ChunEon Park fb01285232 enventor - kill the views after caching time is passed. 2013-09-19 18:52:30 +09:00
ChunEon Park 5c51752bd1 enventor - don't set null to status info. 2013-09-19 17:52:12 +09:00
ChunEon Park eb38a5da4d enventor - applied view switching effect. 2013-09-19 17:44:51 +09:00