Latest post of the previous page:
Please, can someone explain to me how does "inherit" operates? Thank youNew text "style" options (bold, italic, underline, etc)
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
New text "style" options (bold, italic, underline, etc)
Epsteyn, it's somewhat similar to color transparency: if you have multiple highlight groups, and one of them defines one or more text attributes and has "continue processing" set, then, if the subsequent group has "inherit" set, its text attributes will be merged with the attributes defined in the previous group.
New text "style" options (bold, italic, underline, etc)
Understood.DrKnS wrote: ↑Mon 16 Aug, 2021 00:51 Epsteyn, it's somewhat similar to color transparency: if you have multiple highlight groups, and one of them defines one or more text attributes and has "continue processing" set, then, if the subsequent group has "inherit" set, its text attributes will be merged with the attributes defined in the previous group.
Is there any help file or online manual to learn how the file highlight options functions operate?
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
New text "style" options (bold, italic, underline, etc)
F1 in various dialogs & menus (could be quite outdated).
New text "style" options (bold, italic, underline, etc)
the "color" submenu (which contains the new styles option) does not have a help option. It would be very helpful to have it.F1 in various dialogs & menus (could be quite outdated).
- HaRT
- Moderator
- Posts: 10869
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
New text "style" options (bold, italic, underline, etc)
Thank you for the hotkeys as well!
Is it hard to make the hotkeys of
Foreground
and Background
work as expected (that is, give focus to the respective palette control)? Currently, they seem to have no effect…Фар есть инструмент, а не нянька. © 2009 DrKnS
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
New text "style" options (bold, italic, underline, etc)
Not really, 5880.
Note: the effect is different in the transparency-aware dialog version, e.g. in files highlighting.
-
- Posts: 2
- Joined: Sun 04 Sep, 2022 12:59
New text "style" options (bold, italic, underline, etc)
Hello! What do these new style options require? I have wezterm with powershell 7.3 (preview) installed.
If I enter command such as
or
it will be rendered properly:
If I change something in far, nothing changes, though:
If I enter command such as
Code: Select all
“$($PSStyle.Reset)This is how you $($PSStyle.bold)bold$($PSStyle.BoldOff) text in PowerShell”
Code: Select all
“$($PSStyle.Reset)This is how you $($PSStyle.italic)italic$($PSStyle.ItalicOff) text in PowerShell”
-
- Posts: 2
- Joined: Sun 04 Sep, 2022 12:59