diff -ur mc-4.8.10.orig/doc/man/mc.1.in mc-4.8.10/doc/man/mc.1.in
old
|
new
|
|
3594 | 3594 | base_color=normal=white,default:marked=magenta,default |
3595 | 3595 | .fi |
3596 | 3596 | .PP |
3597 | | Attributes can be any of bold, underline, reverse and blink, appended by a |
| 3597 | Attributes can be any of bold, italic, underline, reverse and blink, appended by a |
3598 | 3598 | plus sign if more than one are desired. The special word "none" means no |
3599 | 3599 | attributes, without attempting to fall back to base_color. Example: |
3600 | 3600 | .PP |
diff -ur mc-4.8.10.orig/doc/man/mcedit.1.in mc-4.8.10/doc/man/mcedit.1.in
old
|
new
|
|
439 | 439 | .B cooledit |
440 | 440 | colors. |
441 | 441 | .PP |
442 | | Attributes can be any of bold, underline, reverse and blink, appended by a |
| 442 | Attributes can be any of bold, italic, underline, reverse and blink, appended by a |
443 | 443 | plus sign if more than one are desired. |
444 | 444 | .PP |
445 | 445 | Comments may be put on a separate line starting with the hash sign (#). |
diff -ur mc-4.8.10.orig/doc/man/ru/mc.1.in mc-4.8.10/doc/man/ru/mc.1.in
old
|
new
|
|
3985 | 3985 | base_color=normal=white,default:marked=magenta,default |
3986 | 3986 | .fi |
3987 | 3987 | .PP |
3988 | | Атрибуты обозначаются словами "bold", "underline", "reverse" и "blink". |
| 3988 | Атрибуты обозначаются словами "bold", "italic", "underline", "reverse" и "blink". |
3989 | 3989 | Чтобы использовать несколько атрибутов, их надо перечислить через символ "+". |
3990 | 3990 | The special word "none" menas no attributes, without attempting to fall back |
3991 | 3991 | to base_color. Пример: |
diff -ur mc-4.8.10.orig/lib/tty/color-internal.c mc-4.8.10/lib/tty/color-internal.c
old
|
new
|
|
84 | 84 | |
85 | 85 | mc_tty_color_table_t const attributes_table[] = { |
86 | 86 | {"bold", A_BOLD}, |
| 87 | {"italic", A_ITALIC}, |
87 | 88 | {"underline", A_UNDERLINE}, |
88 | 89 | {"reverse", A_REVERSE}, |
89 | 90 | {"blink", A_BLINK}, |
diff -ur mc-4.8.10.orig/lib/tty/color-slang.h mc-4.8.10/lib/tty/color-slang.h
old
|
new
|
|
11 | 11 | /*** typedefs(not structures) and defined constants **********************************************/ |
12 | 12 | |
13 | 13 | /* When using Slang with color, we have all the indexes free but |
14 | | * those defined here (A_BOLD, A_UNDERLINE, A_REVERSE, A_BLINK) |
| 14 | * those defined here (A_BOLD, A_ITALIC, A_UNDERLINE, A_REVERSE, A_BLINK) |
15 | 15 | */ |
16 | 16 | |
17 | 17 | #ifndef A_BOLD |
18 | 18 | #define A_BOLD SLTT_BOLD_MASK |
19 | 19 | #endif /* A_BOLD */ |
| 20 | #ifndef A_ITALIC |
| 21 | #define A_ITALIC SLTT_ITALIC_MASK |
| 22 | #endif /* A_ITALIC */ |
20 | 23 | #ifndef A_UNDERLINE |
21 | 24 | #define A_UNDERLINE SLTT_ULINE_MASK |
22 | 25 | #endif /* A_UNDERLINE */ |
diff -ur mc-4.8.10.orig/misc/skins/sand256.ini mc-4.8.10/misc/skins/sand256.ini
old
|
new
|
|
47 | 47 | # |
48 | 48 | # Following the foreground and background colors, the third (optional) value |
49 | 49 | # can specify special attributes to enable. Valid values are bold, underline, |
50 | | # reverse and blink. Append more with a plus sign, e.g. "underline+bold". |
| 50 | # italic, reverse and blink. Append more with a plus sign, e.g. "bold+italic". |
51 | 51 | # Leaving the field empty makes it fall back to the attributes of _default_. |
52 | 52 | # Use any other word (e.g. "none") to prevent fallback and disable all flags. |
53 | 53 | |
… |
… |
|
90 | 90 | disabled=gray;rgb553 |
91 | 91 | reverse=;rgb452 |
92 | 92 | commandlinemark=white;gray |
93 | | header=red |
| 93 | header=red;;italic |
94 | 94 | |
95 | 95 | [dialog] |
96 | 96 | _default_=black;rgb553 |
97 | 97 | dfocus=;rgb452 |
98 | 98 | dhotnormal=;;underline |
99 | 99 | dhotfocus=;rgb452;underline |
100 | | dtitle=;;underline |
| 100 | dtitle=;;italic+underline |
101 | 101 | |
102 | 102 | [error] |
103 | 103 | _default_=rgb554;rgb320;bold |
104 | 104 | errdfocus=black;rgb452;bold |
105 | 105 | errdhotnormal=;;bold+underline |
106 | 106 | errdhotfocus=black;rgb452;bold+underline |
107 | | errdtitle=;;bold+underline |
| 107 | errdtitle=;;bold+italic+underline |
108 | 108 | |
109 | 109 | [filehighlight] |
110 | 110 | directory= |
… |
… |
|
125 | 125 | database=rgb421 |
126 | 126 | |
127 | 127 | [menu] |
128 | | _default_=black;rgb452 |
129 | | menuhot=;;underline |
| 128 | _default_=black;rgb452;italic |
| 129 | menuhot=;;italic+underline |
130 | 130 | menusel=;rgb551 |
131 | | menuhotsel=;rgb551;underline |
| 131 | menuhotsel=;rgb551;italic+underline |
132 | 132 | menuinactive= |
133 | 133 | |
134 | 134 | [popupmenu] |
135 | | _default_=black;rgb553 |
| 135 | _default_=black;rgb553 |
136 | 136 | menusel=;rgb452;underline |
137 | | menutitle=;;underline |
| 137 | menutitle=;;underline+italic |
138 | 138 | |
139 | 139 | [buttonbar] |
140 | | hotkey=black;rgb554 |
141 | | button=black;rgb452 |
| 140 | hotkey=black;rgb554;italic |
| 141 | button=black;rgb452;italic |
142 | 142 | |
143 | 143 | [statusbar] |
144 | | _default_=black;rgb452 |
| 144 | _default_=black;rgb452;italic |
145 | 145 | |
146 | 146 | [help] |
147 | 147 | _default_=black;rgb553 |
148 | | helpitalic=green |
149 | | helpbold=red |
| 148 | helpitalic=green;;italic |
| 149 | helpbold=red;;bold |
150 | 150 | helplink=blue;;underline |
151 | 151 | helpslink=blue;;reverse |
152 | 152 | |
diff -ur mc-4.8.10.orig/src/args.c mc-4.8.10/src/args.c
old
|
new
|
|
376 | 376 | "Extended colors, when 256 colors are available:\n" |
377 | 377 | " color16 to color255, or rgb000 to rgb555 and gray0 to gray23\n\n" |
378 | 378 | "Attributes:\n" |
379 | | " bold, underline, reverse, blink; append more with '+'\n") |
| 379 | " bold, italic, underline, reverse, blink; append more with '+'\n") |
380 | 380 | ); |
381 | 381 | /* *INDENT-ON* */ |
382 | 382 | |