Let me have a file like this (^[ is actually escape)
^[[0m^[[31;40m This is a Red Foreground On Black Background
^[[0m^[[32;40m This is a Green Foreground on Black Background
^[[0m^[[37;40m This is a White Foreground on Black Background
^[[0m^[[33;40m This is a Yellow Foreground on Black Background
Now I open a shell in emacs: [I have...
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
for ansi color]
and I do "cat file" everything is fine. Lines come colored as I wanted it to be.
Now I do a "load-theme material" [This is a modern "custom theme" which I do not know anything about]. This theme has a grey background.
Now if I do the same cat file then the background is white. As a matter of fact, the line "This is a White Foreground on Black Background" comes Black on white!!
How to solve this? How to make 'cat file' make color encoding irrespective of theme?
Related
I have turned on the dark mode in eclipse. when I coding something on it and it suggest me available things as usual. But the problem is now the 1st of the suggestion is in black background and black text.
this suggesting text is is unreadable in the first element .
I want to make it readable.
You can change the background and the foreground colors of the content assist of the HTML Editor in the preferences Web > HTML Files > Editor > Appearance. Choose black or a dark color for Completion proposal background and white for Completion proposal background.
In this image the white background of the collapsed try block is the setting:
"workbench.colorCustomizations": { "editor.foldBackground": "#ffffff" }
But, what I can't find anywhere or guess at correctly is how to change the color of the little red arrow inbetween lines 6 and 7? This is where there are uncommitted changes that you can view/revert, like the last two images. I just don't want red because that is my error highlight color and I'm revamping a huge project to pull all PPI out and it is starting to drive me crazy looking like there are thousands of errors when it is just uncommitted code.
Try this colorCustomization:
editorGutter.deletedBackground Editor gutter background color for lines that are deleted.
from the end of https://code.visualstudio.com/api/references/theme-color#editor-colors
There are also these:
editorGutter.modifiedBackground: Editor gutter background color for lines that are modified.
editorGutter.addedBackground: Editor gutter background color for lines that are added.```
I'm using a Cobalt theme (from GEdit) for the text editor, but the background isn't as it should be. When i try to change it (Generel->Editors->Text Editors : Background Color), it has no effect, the background color stays grey (supposed to be blue).
As you can see, the background stays grey (should be the same background of the margin), maybe overwritten by Eclipse's Dark Theme ?
At the bottom of the screen when emacs is open there is a strip of purple, meaning that emacs in terminal isnt maximizing to the full size that the terminal window allows and thus the background from the terminal is showing. I know this is nit-picky but my OCD is driving me crazy. Anyway to fix this?
I would post an image but I don't have enough stackoverflow karma points yet.
Just a guess, but you might try setting the fringe color. I usually match mine to the background color with with this:
;; regardless of the theme, match the fringe the default background
(set-face-background 'fringe (face-attribute 'default :background))
I love to use dark theme for Programming.
But i have the fault, that the lines on explorer-window (which shows subfolders), doesnt become white, to see theem.
See Image:
Here is a Image if i turn to a light-theme.. there you see the lines:
What can i do th have all windows with dark background, but lighter lines?