AvalonEdit default color when no rules are matched? - syntax-highlighting

Currently when there is text with no rules matched, the text defaults to be black. I've tried to change the highlight color of the default text, but so far no luck.
Any suggestions on how I could go about updating the default text color?

You cannot change the default text color in the syntax highlighting. Instead, just set editor.Foreground.

Related

Firemonkey how to set font color for selected text in TEdit

I'm trying to find a way to use styles to set the color of the selected text in a TEdit in Firemonkey.
In Delphi VCL, the text color by default changes to white (or perhaps a windows constant) when the text is selected, so that it shows clearly through the selection highlight.
In FMX, the default style is for the text color not to change. That results in the text being hard to read. I'd like to set it so that it works like VCL, but I can't find anywhere in the style to set the text color of the selected text.
Thanks for any help you can provide.
Scott

How to change color of Highlight syntax in asciidoc

I am using asciidoc extensively for documentation. I am also using the feature Highlight syntax feature of asciidoc.
By default it highlight the color in yellow, as in the following link: https://docs.asciidoctor.org/asciidoc/latest/text/highlight/
I googled to find out if it is possible to change the color, but did not find any useful information.
Question: Is it possible to change this color. Also is it possible to maintain more that one color for highlighting.
The colour of the highlight is determined by the converter you are using. For example, with the HTML converter, the text is surrounded by <mark> tags, and most browsers will style this yellow by default. You can change the colour of the <mark> element using CSS.
To add more than one highlight style to your document, you should use a custom inline style. Again, for the HTML converter, style the <span> elements using CSS.
The default stylesheet for asciidoctor currently contains the following custom inline styles for highlighting:
.aqua-background{background:#00fafa}
.black-background{background:#000}
.blue-background{background:#0000fa}
.fuchsia-background{background:#fa00fa}
.gray-background{background:#7d7d7d}
.green-background{background:#007d00}
.lime-background{background:#00fa00}
.maroon-background{background:#7d0000}
.navy-background{background:#00007d}
.olive-background{background:#7d7d00}
.purple-background{background:#7d007d}
.red-background{background:#fa0000}
.silver-background{background:#bcbcbc}
.teal-background{background:#007d7d}
.white-background{background:#fafafa}
.yellow-background{background:#fafa00}
I assume you are converting to HTML, in that case the easiest way to change the highlighting color would be to use these existing inline styles, like this:
#Werewolves# are [.red-background]#allergic# to [.aqua-background]#cinnamon#.

How do I change the default color for hypelink in Summernote?

In my Summernote editor, I want the default hyperlink color to be the usual link color (#0000ee), but now I get this sky-blue color (#007aff) instead, is there a way to change it?

Is there a way to check the color on a text in RCPTT?

Not the foreground/background color, but the color of the text itself.
I need to verify the result text by color (red/green).
The foreground color is the color of the text in case of a Text field.
What kind of Widget are trying to verify?

indesign color theme tool changing color of text

indesign color theme tool changes the color of any text in same text frame regardless of different paragraph styles.
It makes sense, but I was hoping I'd be able to pick a color from a visual for headline, another for subhead… no luck.
Anyone know of a workaround? thanks!
indesign color theme tool applies active color to ALL paragraphs styles in text:
http://i.stack.imgur.com/Ji6TN.jpg
After you have picked the colors, select the color (from theme) for your headline, now select the headline text, the color should get applied. Select the color again (from theme) for a subhead, select the subhead text, the color gets applied.
You may want to use the reagular color picker while clicking on shift to get any color value from a visual.

Resources