Commit Graph

134 Commits

Author SHA1 Message Date
Jaehyun Cho 93f2148e43 enventor: Add log messages for memory allocation error
Summary: Add log messages for memory allocation error

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1245
2014-07-28 13:42:14 +09:00
ChunEon Park 9505d24711 edc_editor - fix the vertical scroller disappear on ctrl+v
Reproduce Step:
  a. Open new empty project.
  b. Input 'collections {'
  c. Copy and paste edc text (for example elementary video.edc text) to the Enventor edit window.

Current result: vertical scroller is not shown
Expected result: vertical scroller is shown

Signed-Off-By:Kateryna Fesyna<k.fesyna@samsung.com>
2014-07-26 14:10:14 +09:00
ChunEon Park 3771fc8afb edc_editor - fix the disappear scrollable functionality.
Reproduce Step:
 a. Set font scale to 2.0;
 b. Set entry cursor to 1st position;
 c. Press Enter;
 d. Set cursor to 1st position;
 e. Press backspace;
 f. Press Del;

Current result: disappear scrollable functionality;
Expected result: delete 1st line.

Signed-Off-By:Kateryna Fesyna(k.fesyna@samsung.com)
2014-07-26 14:08:27 +09:00
ChunEon Park 408e6fd04d template - add a new template, minimum 2014-07-19 13:55:24 +09:00
ChunEon Park adae9b6fd3 introduce new feature, auto completion. 2014-07-19 13:31:08 +09:00
ChunEon Park 544965020c editor - increase lines by one function call. 2014-07-15 22:16:23 +09:00
ChunEon Park b2bb300c3c editor - fixed missing line feeds when reading a edc file. 2014-07-07 22:33:38 +09:00
ChunEon Park 9e3bee763e enventor - discard selection region when goto is activated. 2014-06-08 13:25:47 +09:00
ChunEon Park e1c194544c editor - recover selection region next to the syntax color applying. 2014-06-08 13:17:06 +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 0cd86f1289 editor - fix the incorrect line increase at copy & paste. 2014-06-04 22:37:00 +09:00
ChunEon Park ed89dd1d97 editor - calc entry forcely after textblock change 2014-06-01 15:49:40 +09:00
ChunEon Park 0cf6bf5b51 goto - added new feature, go to line 2014-06-01 15:35:54 +09:00
ChunEon Park 285c2ff530 editor - fix confiction between amp and escaped words.
When texts includes '&' symbol, it missed the character in editor.
Now the logic is considered to recognize it correctly.
2014-05-31 17:33:33 +09:00
ChunEon Park 2b40f3d578 syntax_color: adjust updation time while scroller size is beging changed. 2014-05-31 16:20:01 +09:00
ChunEon Park 502d53d6f1 edit - use a exist function to set the state. 2014-05-29 15:23:10 +09:00
ChunEon Park fd8ec65fe7 editor - make state change when line is deleted. 2014-05-29 15:20:39 +09:00
ChunEon Park b73103a2d7 editor - use a thread for syntax color full updation. 2014-05-27 17:17:15 +09:00
ChunEon Park dee1f3c1af editor - set syntax color text rage in experimental. 2014-05-27 16:30:09 +09:00
ChunEon Park f0afae6853 syntax_color: missed change from 67cf449fdd. 2014-05-27 13:56:22 +09:00
ChunEon Park 67cf449fdd syntax_color: improve syntax color.
apply syntax_color on whole texts if the scroll vbar is pressed.
so as if it's not on the partial text updating.

one more thing to do is,
applying multi-thread in this case to not block the user interaction.
2014-05-27 13:52:15 +09:00
ChunEon Park dc9482a42a syntax_color: apply syntax_color right now if the template code is inserted. 2014-05-27 11:23:41 +09:00
ChunEon Park a6e2f4cc23 editor - ahhh not enought.. more detail message again. 2014-05-26 23:52:19 +09:00
ChunEon Park 2b34749b8f editor - more detail message. 2014-05-26 23:50:57 +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 8f9ceccee5 editor - cheating for performance.
I'm not sure this will be problem.
ut it can avoid entry_object_text_escaped_set() in Edje.
Logically that's unnecessary in this case.
2014-05-22 22:17:12 +09:00
ChunEon Park 7e27aeead1 syntax_color: initialize it on the multi-thread. 2014-05-20 16:54:41 +09:00
ChunEon Park 9595c206b8 editor - updated displaying max line if max line is changed.
when just one line is deleted or entry selection cleared,
the max line is not updated in the status bar.

now it's fixed.
2014-05-17 18:19:18 +09:00
Ryuan Choi c88e9bf9d3 Fix the crash when user passed wrong input file.
ex) enventor a/b.edc
2014-05-15 20:54:14 +09:00
ChunEon Park 1f7f52a9ea syntax_color: introduce cache buffer for syntax apply.
It avoids copying of text buffer, every syntax color apply time.
2014-05-15 17:12:37 +09:00
ChunEon Park afeb32650e editor - fix a bug that empty space is dangled in the end of lines.
while adding/removing text lines, this bug is happened.
fixed now.
2014-05-14 17:21:37 +09:00
ChunEon Park 7892ce8dd5 editor - fix buggy line number displaying.
don't be clean up line numbers even edc text is clear.
the minimum line number should be 1.
2014-05-14 15:59:49 +09:00
ChunEon Park cf0024b02f editor - fixed incorrect handle declare. 2014-04-01 16:05:08 +09:00
ChunEon Park 634c061e0e code clean up
use the macro for br tag.
2014-03-16 18:01:47 +09:00
ChunEon Park 512d16d1cf ctxpopup - support part state candidates list. 2014-03-16 17:55:34 +09:00
ChunEon Park 97e66a19fe editor - don't try parse the selection if the text is started with quatation mark.
there are no case that ctxpopup candidate texts have the quation mark.
we can skip unnecessary parsing as possbile.
2014-03-16 13:52:30 +09:00
ChunEon Park c6605c58a5 code clean up.
removed missed null check.
2014-03-16 13:28:11 +09:00
ChunEon Park a25fccbd9b ctxpopup - display image if it's found in the default image path. 2014-03-16 13:21:09 +09:00
ChunEon Park 90c71719ba code clean up
removed unnecessary null check.
2014-03-16 11:51:02 +09:00
ChunEon Park 7919f98111 editor - fix the group switching bug.
previuosly the group switching would be done only when part highlight is enabled.

now, it tries group switching regardless of the part highlight
2014-03-15 16:23:18 +09:00
ChunEon Park 1ff1659cca code clean.
line wrap when it reaches to 80 characters.
2014-03-15 16:09:05 +09:00
ChunEon Park f43fd3d932 editor - fixed typo. 2014-03-15 15:33:45 +09:00
ChunEon Park 7a7d220fc8 editor - fixed side effect by 50a975b0ce
since the \<br\> tag appending order is changed.
these functions should be updated also.
2014-03-15 15:32:16 +09:00
ChunEon Park 27e85c6acc editor - pass the required enum value to the elm_entry_line_wrap_set() API 2014-03-15 02:53:56 +09:00
ChunEon Park 50a975b0ce editor - optimize line number appending workflow.
Before this patch, it appended each lines number text separately to the line number entry when it reads an edc.
This caused the sizing calculation for every appending.

Now it appends the line numbers to one buffer,
and set it to the line number entry when all lines are readied.

Consequently, the sizing calculation time is much reduced at the edc reading time.
2014-03-15 02:37:41 +09:00
ChunEon Park afaa70f21f editor - removed one line leftover spacing in the editor lines.
Don't apply <br> tag to end of the last line text.
This caused the one empty line spacing.

Now it's fixed.
2014-03-15 01:45:16 +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 8dcd605806 editor - now u can delete a current line with Ctrl+D 2014-03-11 00:01:23 +09:00
ChunEon Park edbf669979 enventor - on implementing line deletion. 2014-03-10 02:15:31 +09:00
ChunEon Park dc3ce7be3f hotkeys - redesign ui 2014-03-08 22:55:48 +09:00