Ruler not showing up in .md files in Sublime Text 2 - settings

I cannot make the ruler appear in .md files. The setting "ruler": [80] is set in every possible place, including in the Default and User settings of the package Markdown Editing. Yet still, the ruler would not appear. I thought this was a color issue, but even after changing the background of the theme to black, the ruler would not appear. In every other file type the ruler appears. What other settings could I check?
Thanks.

The option's name is rulers here (although I am using sublime 3), so "rulers": [80] should work.

Related

how to change the color of your divs, class names while editing in vscode

my current editor
how i want my editor to look
you can see the different in colours
i want my to have three different colours for each of the words
how do i customise it according to the first picture
i tried to play around with themes and extensions but none is changing the semantic text in my .js file
https://jeffhykin.medium.com/how-to-customize-your-vs-code-text-colors-c0191155f41a
i dont' really know how to us this to change every single parameter and colour?
Just look in extensions tab for "Themes".
https://code.visualstudio.com/docs/introvideos/configure there you got...

Replacing fonts in Powerpoint view does not replace font

I have a PowerPoint template. When this template was passed off It included some special fonts that I needed to remove because it was throwing warnings when users opened them up.
When I use the "replace fonts" feature it does not remove the font. I deal a lot with the XML properties of these templates because some of the content is generated dynamically when a report is run. I can still see in the slides the font is present
<a:buFont typeface="Poppins"/> the other is <a:buFont typeface="Noto Sans Symbols"/>
Which both appear to be bullet list fonts? There are no lists in the view though...
Removing it from the XML itself is not an option because when I update the template again it will override that and given that doesn't happen often I will have forgotten all about this. I need to fix this in the template so I can then export it out.
I have edited all the text I can see to either Ariel or Calibri but this Poppins font is still in there and I have no idea how to get it out.
Specifics are
Powerpoint version is 16.36
The program is actually Powerpoint for Mac (if that matters)
If anyone solved a similar issue and can give me some direction it would be much appreciated.
The buFont tag means that font is being used for a bullet rather than actual text. Probably a text level somewhere uses a custom bullet specced with this font. Each content or text placeholder can have up to 9 text levels, you may hove to create 9 levels using Home>Indent More to find the right one.
Start with the Slide Master (View>Slide Master>the larger thumbnail at the top). Then check each placeholder on each Layout (smaller thumbnails below the Master). Finally, check each multilevel placeholder on each slide, in case this was added with local formatting.
My go-to technique is to unzip the presentation into the XML files and do a find and replace on them. That's the quickest way to replace fonts, which can be tucked away in all kinds of obscure places in a presentation. On a Mac, this takes a bit of preparation to avoid problems caused by the OS. If you regularly create PowerPoint files, it may be worth it to set this up. Here's my article on this: OOXML Hacking: Editing in macOS. Look for the part about using a USB or network drive that is set to not create hidden .DS_Store files. Then use a text editor like BBEdit to do multi-file find and replace operations on the font name.
I have PowerPoint 16.39 on my MacBook Pro. Try to click on PowerPoint in the upper left. Then Preferences, then the Save icon. At the bottom you'll have Font Embedding. If you un-check this option, it should not save fonts to the template anymore.

Icons in setting menu may have unexpected vertical lines

We are running cobalt with openGL enabled, and the graphics appear to display correctly under 1920x1080 resolution.
But once in a while, some icons in the "Settings" menu may have unexpected vertical lines on top (as shown in the picture).
We are guessing the icons are created from TTF font file, but we are not sure how it is rendering onto the screen.
We want to dump the icons to file at the following points to check what went wrong.
When the icon is actually converted to image.
When the icon experience further modification. (eg, color change, bolding, etc)
When the icons are rendered onto screen canvas.
Would really appreciate if someone can help to point out where in source code these events may be happening.
I guess the first question is: are you running the stable branch or the experimental branch of Cobalt?
Beyond that, yes, the icons are created from a TTF font file that is downloaded remotely. The icon itself is simply a character that is converted into a glyph, like the text above it, albeit at a much larger size.
I believe that the logic that you're looking for is within RenderText() in cobalt/renderer/rasterizer/skia/render_tree_node_visitor.cc. SkCanvas::drawTextBlob() is passed the glyph and color information that it uses to render the icon.
The specific glyph that is being used looks correct, but the location where the render_tree::GlyphBuffer representing it is created is TextShaper::CreateGlyphBuffer() in cobalt/renderer/rasterizer/skia/text_shaper.cc.

Correcting Syntax Highlight files for Notepad++

I was trying to add a syntax highlight file to Notepad++ containing syntax highlights for AutoHotkey, I followed what was in this here https://autohotkey.com/boards/viewtopic.php?f=7&t=50
but of course when I've imported it and set the defined language thing, it gives me wrong colors all over the text making white background around the text like this
How can I correct this so it's giving me the proper syntax highlights without white background on the text? it looks horrible just looking at it.
Right click the background color in the Styler Dialogs:
The transparency mark won't be remembered, but the style will.

In Notepad++, set background color for file type

When various files types are open at the same time, such as .html, .css and regular .txt files in Notepad++, is it possible to have a different main background color for each file type?
Whenever I change the background color for any theme, language type, Default styles and of course, the Global Override, all in Style Configurator, each and every document tab and type reflects the background color change.
Each language has its own set of color specifiers in the Style Configurator. The text color and syntax highlighting colors seem to remain intact, but the main background color seems to be a global one size fits all affair?
What if I want text files to always be white background with black text but all .html files to be a black background with white text - and have each open at the same time?
I've spent WAAAAY too much time with intelligent trial and error and research. Perhaps I'm trying to do the impossible?
You can't do this on a per-file basis at all.
You can do this on a per-language basis, but there is no language-level override (the "DEFAULT" color entry does not count) like there is for an application-level override (the "Global Override" entry). This means you have to set the same background color manually in all the individual color entries for a given language. It also means if you want to change the background color... you have to change it for all the individual entries for the language.
In addition, since Notepad++ uses a language-based syntax highlighter, this means if you have an internal style sheet within an HTML file and you have different background colors for HTML and for CSS, you'll see two background colors within the same file. There is no way to specify a different color scheme for CSS or JavaScript that is embedded within HTML.
Open your n++ installation folder, go to folder "themes", open your widely used theme file (my is khaki.xml). Find LexerType you want to change (i.e. tcl), add line like one below right after <LexerType...> node:
<WordsStyle name="Default Style" styleID="32" fgColor="5F5F00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
Reopen n++, go to Style Configurator, select your style, and now when you set Default Style background color, all background (out of text) will change.
Cheers.
I'm guessing most of the answers on this page are out of date - this is now possible in Notepad++ version 8.4.6 at least.
Use the Settings | Style Configurator... menu item.
From here, you have a list of languages on the left, and for each you can select a different Background Colour.
Tip: I use "More Colours..." to create custom colours for a very, very, very pale green or blue. I then have different areas of the same file (PHP, JavaScript, and HTML) highlighted with very subtly different background colours.
-mobailey

Resources