![]() ![]() Notepad++ uses a fixed line height equal to the tallest character that can be on that line. The answer is: The line would still be 12pt tall. But what if there is only a keyword in one line (whose character sizes are 10pt)? What if the line is entirely blank? So, in the example above, what happens if both known keywords and braces are in one line? Naturally, Notepad++ must adjust the line height to accomodate a 12pt font. (“Points” or “pt” for short is a measure of font size, equal to 1/72 inches.) ![]() For example, it is possible to display known keywords in bold black 10pt font and braces in red 12pt font. One of its features is syntax highlighting when the user is editing a source code, written in one of the programming/scripting/markup languages that it knows of, it automatically shows keywords, variables, values, parameters and comments in different colors, sizes, font weights, font styles or typefaces. Notepad++ is an advanced plain text and source code editor. But as with any other curious human, I wanted to know why, just out of curiousity and not because of practical need. I normally wouldn’t care for a slight amount of space as I am not a consumer of ASCII art and don’t use table characters in my source codes either.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |