Jaehyun Cho
3ee3c69707
text_setting: Fix to apply font style to text in text setting
...
Previously, if a font style was selected and then re-open text setting,
the selected font style was not applied to example text in text setting.
Now, the selected font style is applied to example text when text
setting is re-opened.
2017-02-24 17:09:45 +09:00
Taehyub Kim
341b9827e3
text_setting: remove unncessary space
...
Summary: remove unnecessary space
Reviewers: Jaehyun_Cho, NikaWhite, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D4267
2016-09-01 20:03:33 +09:00
Hermet Park
b4655c371c
text_setting: reset font style properly.
2016-08-12 15:09:07 +09:00
Jaehyun Cho
b32a30bd41
text_setting: Fix not to access unassigned array.
...
This fixes commit 6bf75f2044
2016-08-02 17:19:14 +09:00
Hermet Park
6bf75f2044
text_setting: apply lazy style to syntax color template code.
2016-08-01 16:54:52 +09:00
Hermet Park
932174c629
text_setting: allow null argument.
...
text_setting_reset() allows null value by demand.
2016-07-06 14:30:12 +09:00
Hermet Park
e3c03b38ba
settings: allow null arguments on build/text setting.
2016-07-02 14:16:30 +09:00
Hermet Park
731d0bed5b
++secure code.
2016-07-01 18:58:26 +09:00
Hermet Park
5140ab5c64
code refactoring.
...
add a common memory fail message routine to reduce string usage.
2016-06-29 20:41:39 +09:00
Bowon Ryu
b69a210b00
text_setting: remove dec & inc button on font_size slider
...
Summary:
ux update for text setting.
remove dec & inc button because uncomfortable.
and adjust slider step.
Reviewers: Hermet, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D4065
2016-06-21 16:24:34 +09:00
Bowon Ryu
8235fa8404
text_setting: add button & spinner for font_size slider
...
Summary:
ux update for text setting.
add dec & inc buttons and spinner for font_size slider.
Test Plan: esc > settings > text editor
Reviewers: Hermet, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D4057
2016-06-21 14:03:04 +09:00
Hermet Park
4da3778f80
removed redundant code
2016-06-05 13:09:52 +09:00
Hermet Park
4725daefd3
setting: polish gui.
2016-05-26 02:29:04 +09:00
Jaehyun Cho
2d2bb9e3a5
text_setting: Show current font name.
...
Previously, current font name was not visible because scroller of font
name did not move to the current font name list item.
Now, current font name is visible.
2016-05-25 23:53:56 +09:00
Jaehyun Cho
75206cd36d
setting: Reorganize items.
...
Remove setting items which are already in toolbar area.
Reorganize items in text setting.
2016-05-25 23:53:55 +09:00
Hermet Park
087538ce0c
tiny optimization.
...
sharing enventor string names.
2016-04-23 11:30:36 +09:00
Hermet Park
9da3ee6bf5
setting: adjust font style list width
2016-04-17 13:59:53 +09:00
Hermet Park
b04b7dde28
setting: refactoring code.
...
split preference setting code from general setting.
2016-04-17 13:48:35 +09:00
Hermet Park
8f91d45ff1
setting: reorganize setting view.
2016-04-17 13:31:27 +09:00
Hermet Park
8a837c3b4a
setting: code refactoring.
...
clean up code.
this is one step for setting extension.
2016-04-16 00:52:46 +09:00
Jaehyun Cho
8935ac45a5
Replace elm_app_name_get() with "enventor" for Windows.
...
On Windows, elm_app_name_get() returns "enventor.exe".
To set "enventor" style, elm_app_name_get() is replaced with "enventor".
2016-03-14 17:19:13 +09:00
taehyub
49fae1fe40
text_setting: fix the unsafe code of string function
...
Summary:
fix the unsafe code like strcat and strcpy.
it is changed to strncpy, strncat
@fix
Reviewers: Hermet, NikaWhite, Jaehyun_Cho
Differential Revision: https://phab.enlightenment.org/D3761
2016-03-07 12:13:07 +09:00
Hermet Park
3a43682695
remove unused compile warnings.
2016-03-05 11:31:37 +09:00
Jaehyun Cho
af1591100c
text_setting: Select current font name and style.
2016-02-23 22:38:13 +09:00
Jaehyun Cho
650c017df9
Revert "text_setting: Show monospaced fonts."
...
This feature is useful for small number of developers.
From the point of maintenance view, reverting this feature is better.
This reverts commit f391c03be0
.
2016-02-23 18:59:07 +09:00
Jaehyun Cho
e81fa2f350
Revert "text_setting: Change "Monospaced" to "Fixed-width"."
...
To revert commit f391c03be0
, revert this
commit.
This reverts commit c3a8e7d03f
.
2016-02-23 18:58:02 +09:00
Jaehyun Cho
c3a8e7d03f
text_setting: Change "Monospaced" to "Fixed-width".
...
Change "Monospaced" to "Fixed-width" for better understanding.
2016-02-23 14:45:32 +09:00
Jaehyun Cho
f391c03be0
text_setting: Show monospaced fonts.
...
Monospaced fonts are identified by fontconfig APIs.
(i.e. Monospaced fonts have a spacing value with 100.)
Therefore, showing monospaced fonts are available only if fontconfig is
installed.
2016-02-23 12:19:12 +09:00
Hermet Park
d84e1b11b6
text_setting: remove redundant code.
...
That code is totally useless at the moment.
I belive color palette will be introduced in enventor soon.
2016-02-16 21:46:51 +09:00
Mykyta Biliavskyi
d1c5cebb24
Localization: add texts from setting layouts to locale.
2015-12-16 10:22:39 +09:00
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