Commit Graph

19 Commits

Author SHA1 Message Date
Mykyta Biliavskyi 360170fd74 Localization: fix localization support.
Correct initalizing textdomain.
Use LOCALE_DIR environment variable.
Support localization in setting.c and text_setting.c files.
2015-12-10 17:30:00 +09:00
Mykyta Biliavskyi 6aea530622 Text settings: Add analysis typed text for redoundo feature.
Added cases:
    Analyse auto indention for new lines. It mean, that redo/undo
            line creation will finished by one step.
    Analyse input symbols speed. In case when user writes somethenigi
            and takes a short delay (by default 0.8sec)
            between written symbols - redo/undo action will use this delay
            as point to create new node in redo/undo queue.
    Analyse input symbols on a "words". Ongoing alphabetic symbols
            between nonalphabetic symbols known as
            "word". Redo/undo action will use for a step a whole "word".

In text setting added addition toggle named "Smart undo/redo".
By default this feature is disabled.

Todo: make this feature work with auto intendation.

Prortotype here: https://phab.enlightenment.org/D1288
2015-12-10 10:53:12 +09:00
Mykyta Biliavskyi c6ec131b8d Multilanguage: apply gettext macro to bin/.
Cover all strings with _() macro.
2015-11-17 17:39:22 +00:00
Mykyta Biliavskyi b542071bb3 Static analyze: fix "Function call argument is an uninitialized value"
Summary:
Fix clang static analyzer warning.
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D3046
2015-09-14 17:45:04 +00:00
ChunEon Park fedcfd3149 text_setting: one more here code refactoring.
err is enough to use.
2015-07-10 20:13:12 +09:00
ChunEon Park c25eb038b3 text_setting: code refactoring.
err is enough to use.
2015-07-10 20:10:37 +09:00
Mykyta Biliavskyi 533994772f Fix compiler warnings.
Fix -Wuninitialized flag warnings.
2015-06-24 13:12:20 +09:00
Jaehyun Cho 6b21eeab0f Set default font if font name is given with NULL. 2015-03-26 22:52:55 +09:00
Jaehyun Cho 4439ca4d75 text_setting: Add font name/style settings. 2015-03-26 22:00:47 +09:00
ChunEon Park b19304d4c7 Revert "text_setting: Add font name and font style settings."
This reverts commit 74e72e6234.

Conflicts:
	src/bin/text_setting.c

font change is critically buggy.
need to test more and review in detail.
2015-03-01 03:08:18 +09:00
ChunEon Park 0e885dfd04 bin/text_setting: remove unused variable. 2015-02-27 17:28:01 +09:00
ChunEon Park 5e8f437df5 fix all annoying warnings. 2015-02-27 17:26:02 +09:00
Jaehyun Cho 74e72e6234 text_setting: Add font name and font style settings. 2015-02-27 16:38:55 +09:00
Hermet fb6c3be3c2 bin: avoid direct type the app name. 2015-02-14 13:09:48 +09:00
ChunEon Park 6d95775842 bin/setting: improve setting gui layouting 2015-02-13 17:31:10 +09:00
Jaehyun Cho b14f106bf7 setting: Set a custom chain to set the focus order.
When the setting layout is unset and set, the focus order is changed.
To make the focus order same, set a custom chain.
2015-02-12 17:50:07 +09:00
Jaehyun Cho 83abef91d2 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 15:44:12 +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