Commit Graph

206 Commits

Author SHA1 Message Date
Jaehyun Cho bc64118d58 Revert "console: Reset console error message when edc file is saved."
This reverts commit 392a12f9dd.
2015-02-13 13:34:34 +09:00
Jaehyun Cho 6c4d881777 newfile: Set temporary path to default edc path by eina_file_mkstemp(). 2015-02-11 22:20:34 +09:00
Jaehyun Cho 392a12f9dd console: Reset console error message when edc file is saved. 2015-02-11 19:08:20 +09:00
Jaehyun Cho 899551a20c config: Add config_syntax_color_set()/get() functions.
Add config_syntax_color_set()/get() functions to save and load
2015-02-03 15:21:01 +09:00
Jaehyun Cho d0070eb673 Revert "config: Add config_syntax_color_set()/get() functions."
This reverts commit 2289ad6c03.

This commit is not applied correctly.
2015-02-03 13:47:53 +09:00
Jaehyun Cho e1991b63ff Revert "setting: Add the Text Editor mode in setting."
This reverts commit 799fd32e13.

The previous commit("config: Add config_syntax_color_set()/get() functions.")
is not applied correctly.
2015-02-03 13:46:43 +09:00
Jaehyun Cho 799fd32e13 setting: Add the Text Editor mode in setting.
Add the Text Editor mode in setting by adding text_setting.c.
text_setting.c covers the syntax coloring and the syntax font scaling.
2015-02-03 13:42:12 +09:00
Jaehyun Cho 2289ad6c03 config: Add config_syntax_color_set()/get() functions.
Summary: Add config_syntax_color_set()/get() functions to save and load user syntax color list.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1915
2015-02-03 12:00:32 +09:00
Jaehyun Cho 4fd5b2f132 common: Move <Enventor.h> to common header file of application.
Move <Enventor.h> to common.h to let application files include
<Enventor.h> and <Elementary.h> easily by including only "common.h".
2015-02-02 20:10:51 +09:00
ChunEon Park 0f78075ead bin/main: fixed missing linenumber toogles.
F5 did nothing since it missed toggling the linenumber.

@fix
2014-12-15 09:50:01 +09:00
Jaehyun Cho 855373f002 main: Keep view size set last time.
Summary:
Keep view size set last time by using "live_view,loaded" enventor callback.
@feature

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1745
2014-12-12 19:49:50 +09:00
Jaehyun Cho 6b8cebe8b5 main: Not dismiss ctxpopup by key events which are not shortcut keys.
Summary:
Not dismiss ctxpopup by key events which are not shortcut keys.
         This enables to control slider and buttons with key events,
         @feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1735
2014-12-09 11:19:55 +09:00
Jaehyun Cho a4227ef9a4 setting: Add size configuration of Live View
Summary:
Add size configuration of Live View
@feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1667
2014-11-25 21:08:29 +09:00
Jaehyun Cho cce3c96084 Fix build warning
Summary:
Fix build warning
         @fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1661
2014-11-14 17:31:18 +09:00
Jaehyun Cho 98a9eca6c5 live_edit: Fix T1785 to restore live edit
Summary:
Fix T1785 to restore live edit
         @fix

Reviewers: Hermet

Maniphest Tasks: T1785

Differential Revision: https://phab.enlightenment.org/D1650
2014-11-12 16:44:19 +09:00
ChunEon Park 936fd19e35 ctxpopup: code refactoring
clear up code.
2014-11-03 13:43:13 +09:00
Jaehyun Cho 02fb416a85 ctxpopup: Fix T1753 (ctxpopup is not closed when esc is pressed)
Summary:
Fix to dismiss ctxpopup when esc is pressed or menu is opened
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1631
2014-11-03 12:19:33 +09:00
ChunEon Park 243d6a1330 app/file_mgr: open warning box deferred way.
if envnetor opened menu or some other popups,
edc modified warning box will be delayed to the editor has focus.
2014-11-01 18:21:13 +09:00
ChunEon Park 8c7197e7f3 app/main: adjust key handle priority.
prevent any short key functions if a popup is opened.
2014-11-01 17:20:33 +09:00
ChunEon Park b72a9a2b32 app/file_mgr: don't allow any shortcut keys if warning box is opened. 2014-11-01 17:13:37 +09:00
ChunEon Park e513684d22 fix build warnings. 2014-11-01 01:15:58 +09:00
Jaehyun Cho c31f0f4f0b file_mgr: Fix T1754 (file mgr warning box is not dismissed with esc key)
Summary: Fix T1754 (file mgr warning box is not dismissed with esc key)

Reviewers: Hermet

Reviewed By: Hermet

Maniphest Tasks: T1754

Differential Revision: https://phab.enlightenment.org/D1629
2014-11-01 00:56:56 +09:00
Jaehyun Cho d135e0c9ea enventor: Fix T1756 (wrong group name is displayed in status bar)
Summary: Fix to not display wrong group name in status bar with empty template.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1628
2014-10-31 20:48:39 +09:00
Jaehyun Cho 8c68bc9981 file_mgr: Support that an edc is opened by different processes.
Summary: file_mgr: Support that an edc is opened by different processes. Open warning window to synchronize or ignore the edc changes.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1561
2014-10-24 13:21:10 +09:00
ChunEon Park 29c54814c3 main: remove workaround code that is no more valid. 2014-10-19 14:43:07 +09:00
ChunEon Park 7c16c5731d update command line usage manual. 2014-10-14 15:49:28 +09:00
ChunEon Park 6987c66fdd oops.. fix build break. 2014-10-14 15:30:59 +09:00
ChunEon Park 826045dda6 main: code clean up 2014-10-14 15:30:00 +09:00
Jaehyun Cho f929c7af02 config: Add argument "-to" to open a new file with templates
Summary: Add argument "-to" to open a new file with templates

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1536
2014-10-14 15:26:42 +09:00
ChunEon Park b9ee49a97e main: set enventor options after setting file.
it's workaround fix.

current enventor doesn't allow setting options before it's file is set.

need to fix.
2014-10-07 11:19:15 +09:00
ChunEon Park e5927b37eb library support.
current enventor apis are under beta apis.
im notice you these apis could be changed soon.
2014-09-30 23:56:16 +09:00
kabeer khan 1b76667733 Main : Corrected typo, replaced h with H
Summary:
Corrected typo in main.c replaced h with H to ensure highlighting with H

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1488
2014-09-30 11:08:43 +09:00
Jaehyun Cho 1d6ef8c9ac globals: Change default file name to use pid as identifier
Summary: Change default file name to use pid as identifier

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1394
2014-09-11 15:43:26 +09:00
ChunEon Park c54744e5ef remove redundant theme recover. 2014-08-28 03:11:07 +09:00
ChunEon Park b3fcaaa7b1 console: keep the previous position even it relaunched 2014-08-14 18:29:53 +09:00
ChunEon Park afbf2db73a template: fix to not insert empty line in editor template insert. 2014-08-13 23:12:51 +09:00
ChunEon Park eca2bb7889 live_edit: changed short cut key. 2014-08-13 19:38:46 +09:00
ChunEon Park de81c39a0d live_edit: revise code 2014-08-13 18:20:42 +09:00
ChunEon Park 367ddab33a live_edit: template insertion is disabled while in Live Edit mode. 2014-08-12 11:55:50 +09:00
Kateryna Fesyna 8cbb206669 Live Edit: Part insertion is disabled while in Live Edit mode
Reviewers: Hermet

Reviewed By: Hermet

Subscribers: NikaWhite

Projects: #enventor

Maniphest Tasks: T1515

Differential Revision: https://phab.enlightenment.org/D1316
2014-08-12 11:51:19 +09:00
Kateryna Fesyna 478e058200 Enventor: Prototipe of Drag-n-Drop feature. Patch 2.
Summary:
Second patch of Drag-n-Drop feature contains new layout for editing parts relative sizes before insertion.
This patch improves parts templates in order to allow set parts sizes.

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1309
2014-08-12 11:31:06 +09:00
ChunEon Park 8e89c0f357 console: new feature comes.
This console box displays error messages.
2014-08-11 21:13:04 +09:00
ChunEon Park 0c0e439bb4 panes: refactoring code.
clean up code for maintainance.
2014-08-11 20:17:31 +09:00
Kateryna Fesyna 80b59d3b15 EDJ Viewer: fix reseting of layout on edc compiling
Summary:
This commit changes the signal that is used to initiate the reset of edj layout:
using of EIO_MONITOR_FILE_MODIFIED sometimes causes calling of edje_object_file_set() earlier than EDC-file compilation is finished.
So, using of ECORE_EXE_EVENT_DEL to track the end of compilation helps to avoid this problem.

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1306
2014-08-11 17:33:18 +09:00
ChunEon Park f6fe9b7955 live_edit: revise the code 2014-08-11 16:32:35 +09:00
Kateryna Fesyna 71c3db0766 Enventor: Prototipe of Drag-n-Drop feature. Patch 1.
Summary:
This commit contains the basic implementation of Live Edit mode.
With this commit Live Edit toggling is added to Menu, Tools and Ctrl-M hot-key.
Activating of Live Edit mode disables the EDC-Editor and allows user to add new parts by selecting corresponding part type in the menu that appears on right click on the EDJ-Viewer area.

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1276
2014-08-11 13:48:01 +09:00
ChunEon Park 0cbf3b38be panes: support top/bottom drag for console. 2014-08-10 18:33:17 +09:00
ChunEon Park 7a771f79e2 console: implemented basic infra 2014-08-10 17:46:14 +09:00
ChunEon Park 64f7cccd5f template: code refactoring.
spllit out the template functions from edc_editor.
2014-08-09 14:29:51 +09:00
ChunEon Park 950d2943a1 revise redo/undo code 2014-08-02 16:41:24 +09:00
Mykyta Biliavskyi 06695c7c55 Redo/Undo: implementation of redo/undo feature.
Summary:
Add module redoundo.c/.h.
Support:
  -    auto intend feature;
  -    autocomplete feature;
  -    code templates insert;
  -    paste text from buffer;
  -    line delete.

Control keys: Undo - **ctrl+z**; Redo - **ctrl + y**.

Need to implement:
  -    API for setting max size queue of changes.
  -    Smart algorithm for management changes.

Known issues:
 on large text(more than 1000 chars) redo, sometimes text inserted in wrong position;

Reviewers: Hermet

Subscribers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1258

Conflicts:

	src/bin/Makefile.am
	src/bin/menu.c
	src/include/Makefile.am
	src/include/common.h
2014-08-02 14:00:55 +09:00
ChunEon Park e592d65053 code refactoring.
split setting.c out from the menu.
2014-07-30 18:10:18 +09:00
ChunEon Park 6d0c720b20 fixed some memory leaks that detected by valgrind. 2014-07-19 15:07:25 +09:00
ChunEon Park adae9b6fd3 introduce new feature, auto completion. 2014-07-19 13:31:08 +09:00
ChunEon Park 01ceaa935c set focus on editor correctly.
previous menu_open_depth() is invalid bacause the menu would have close animation.
so right after closing the menu, the menu depth was invalid.

now get the menu depth and set focus on the editor after closing animation is finished.
2014-07-12 17:17:18 +09:00
ChunEon Park 5b6785e252 edj_viewer - recover the live view feature.
Since the edje has been lost the edj file watching,
enventor implement it by it's own way.
2014-07-12 16:01:50 +09:00
ChunEon Park 70477f47a4 newfile - new feature come.
now user choose a template at new file.
2014-07-10 13:43:55 +09:00
ChunEon Park 4e8e915cbe search - fixed missing of a next word selection.
This is a side effect of partial syntax color updation.
Apply syntax color full updation if search mode is enabled.
and whenever word is replaced, repeat the syntax color full updation again.
2014-06-05 00:50:41 +09:00
ChunEon Park 5f14bcbdd7 Revert "enventor - disable auto scroll mode."
This reverts commit 5fe34acc35.

Conflicts:

	src/bin/main.c
2014-06-02 16:27:54 +09:00
ChunEon Park 96f1c73338 main - enable highlight clip. 2014-06-02 13:13:09 +09:00
ChunEon Park 5fe34acc35 enventor - disable auto scroll mode.
auto scroll is not proper for the traditional editor users who may be familiar with it.
2014-06-02 13:10:47 +09:00
ChunEon Park 0cf6bf5b51 goto - added new feature, go to line 2014-06-01 15:35:54 +09:00
ChunEon Park 6104c3cd7f syntax_color: apply syntax_color on only visible text region.
it's really faster than before while editing large text.
2014-05-26 23:35:57 +09:00
ChunEon Park 034d3df585 main - clean up some workaround code about entry odd character insertion.
After zmike modified that edje_entry inserts odd characters if the control key doesn't supported,
this workaround code is not required anymore.
2014-05-13 00:08:54 +09:00
ChunEon Park b653cf3b28 main - Modified font size short cut key.
Now you can change font size by using mouse wheel.

If the cursor is on the edje view, the view scale will be changed,
if the cursor on the editor, on the other hand, the font size will be changed.
2014-05-12 23:44:49 +09:00
Carsten Haitzler eff12796ba show window after filling it with content - then wm can place it properly 2014-05-12 18:04:22 +09:00
ChunEon Park 24235f4355 newfile - open a new file with command line specified file path.
Previously, the edc file is not exists that specified on the command line,
then the new file was opened with /tmp/.proto.edc

Now, the file path will be kept with user specified.
2014-03-15 17:20:42 +09:00
ChunEon Park 654e8432c3 statusbar - Don't toggle the state when eventor is launching. 2014-03-14 18:00:47 +09:00
ChunEon Park 7ab80a9c14 status - don't display part highlight message when setting change is applied. 2014-03-13 04:12:14 +09:00
ChunEon Park 5a4d2baaf3 newfile - open real "new" template code when NEW file is requested.
previously, it doesn't open a new template code but modified one.
now it's fixed.
2014-03-13 03:54:03 +09:00
ChunEon Park edbf669979 enventor - on implementing line deletion. 2014-03-10 02:15:31 +09:00
ChunEon Park 084211579f hotkeys - renames to tools
conceptually, the function is changed.
2014-03-09 01:22:54 +09:00
ChunEon Park a565c48f24 statusbar - updated statusbar
reset shortcut key from f6 to f10
refactored internal function.
2014-03-09 01:12:28 +09:00
ChunEon Park 60a74d4676 hotkeys - redesign ui.
migrate toggle key to setting menu
2014-03-09 01:05:26 +09:00
ChunEon Park c8e85f3a68 f5/f6 short cut keys had multiple functions.
caused by dc3ce7be3f
2014-03-08 22:58:08 +09:00
ChunEon Park dc3ce7be3f hotkeys - redesign ui 2014-03-08 22:55:48 +09:00
ChunEon Park de8164bcb9 search - on implementing. 2014-03-02 13:34:22 +09:00
ChunEon Park fb1b4d861f search - on implementing search function. 2014-02-26 10:36:53 +09:00
ChunEon Park 9178443524 search - start to implement search/relace 2014-02-22 15:24:53 +09:00
ChunEon Park b229686519 config - override the paths only those are actually existed. 2014-02-18 20:34:03 +09:00
ChunEon Park fdc0868632 stats - refactoring code.
keep the func name consistency.
2014-02-18 14:42:30 +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 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 3522d0d25e editor/statusbar - let's initialize states according to the config value. 2014-02-06 18:55:51 +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
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 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 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
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 3aefa8ff8a hotkeys - add a trigger button for hotkey gui enable/disable 2014-01-30 12:18:31 +09:00
ChunEon Park faf6a5f803 hotkeys - enable f5, f6 hotkeys. 2014-01-30 03:17:59 +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 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 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 6ab7716874 apply gui to set the view scale in the option menu. 2014-01-28 15:22:26 +09:00