Commit Graph

399 Commits

Author SHA1 Message Date
ChunEon Park f559e67402 theme - removed panes buttons 2014-05-30 19:53:09 +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 f2ddb56c5a syntax_color - revise code to be simpler logic. 2014-05-27 17:36:25 +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 65a48e0cd8 syntax_color: use the strchr instead of strstr to find a character. 2014-05-26 23:49:02 +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 c6b7f30c5d syntax_color: improve logic for applying color elaborately.
Until this patch, it applied the color to subwords.
Now, it applies the color to only independet words.
2014-05-23 13:43:15 +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 1fb51951fe syntax_color - more simple api call as possible. 2014-05-22 19:34:06 +09:00
ChunEon Park 5fc6fce8ff syntax_color - append string only if it's valid. 2014-05-22 18:56:43 +09:00
ChunEon Park a7deebef00 syntax_color - refactoring code.
1. removed redundant code
2. split out internal function to reduce function complexity.
2014-05-22 18:52:40 +09:00
ChunEon Park fe1d934cf1 syntax_color - rename internal function. 2014-05-21 21:16:43 +09:00
ChunEon Park 4120f2c75c syntax_color - free memory as soon as possible. 2014-05-21 21:15:06 +09:00
ChunEon Park 0128690266 syntax_color - revise macro color apply logic. 2014-05-21 21:10:05 +09:00
ChunEon Park 0b1f5759f9 syntax_color - code refactoring.
moved a structure var to global
2014-05-21 10:59:43 +09:00
ChunEon Park 27b47b536e syntax_color - cutoff "()" from the macro keywords. 2014-05-21 10:50:32 +09:00
ChunEon Park 87e76c3b35 syntax_color - removed define color.
it's merged to macro color.
2014-05-21 10:36:15 +09:00
ChunEon Park 921f4b274b syntax_color - support macro color 2014-05-21 10:19:46 +09:00
ChunEon Park a9aa904b63 syntax_color - apply an additional color to strings 2014-05-20 20:09:14 +09:00
ChunEon Park 7e27aeead1 syntax_color: initialize it on the multi-thread. 2014-05-20 16:54:41 +09:00
ChunEon Park 4e015e7678 parser - use inarray instead of inlist.
Since we know the item count is constant, inarray is better than inlist.
2014-05-20 16:37:29 +09:00
ChunEon Park 2b14f9a6fc parser - use array instead of list.
Since we know the item count is constant, array is better than list.
2014-05-20 13:28:24 +09:00
ChunEon Park 81c4a9fde2 syntax_color: improved syntax_color to be configurable. 2014-05-19 01:26:47 +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 ed8c3b2922 syntax_color - refactored syntax color apply logic.
now, it method changed to look-up table way for more equational processing in various cases.
Also, this change is a preliminary job for configurable syntax color.
2014-05-15 16:15:36 +09:00
ChunEon Park 1191f306a5 syntax_color - support more keywords 2014-05-14 19:24:52 +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 da7a97094b edj_viewer - remove workaournd code.
I checked text ellipsis works fine now.
and this workaround code causes the view center zooming issue.
2014-05-13 18:18:28 +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
ChunEon Park e9f59eccf6 config - downgrade config file missing message. 2014-05-12 22:59:26 +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 cf0024b02f editor - fixed incorrect handle declare. 2014-04-01 16:05:08 +09:00
ChunEon Park 869da9c8eb parser - enable "action" keyword for candidate list. 2014-03-18 19:47:15 +09:00
ChunEon Park 932befedb3 menu - slience warnings.
removed unused var.
2014-03-17 19:42:58 +09:00
ChunEon Park d97b09e696 syntax_color - support more keywords 2014-03-16 19:06:49 +09:00
ChunEon Park d183d190b4 parser - keep the code convention. 2014-03-16 18:49:54 +09:00
ChunEon Park 425fa01a69 parser - reverted not intended change. 2014-03-16 18:37:18 +09:00
ChunEon Park 119733150f parser - removed unused function. 2014-03-16 18:34:41 +09:00
ChunEon Park 07e824bb79 parser - initialize on a different thread.
since the parser initialization task is getting bigger and bigger,
do it with a separated thread to reduce enventor launching time.
2014-03-16 18:29:58 +09:00