Using a font that is not monospace for code is driving me
nuts! A monospace font makes reading code and typing
it a pleasurable experience. Can we change all the code
to a monospace typeface?
Courier is an example of a monospace font. Most (if not all)
code editors use a monospace font. in a monospace font, very
key is the same length. so 10 i's and 10 w's will take up the
same space. One reason why code is more easy to read in
monospace, is all the spacing lines up. An example of this is
any indent at the beginning of the line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
would you be able to use the current CVS CSS-Layout system and try to integrate this font? You may need to adjust the language-font faces or introduce a new codeface-variable.
And, of course, you would have to look out for the places, where monospace fonts are needed, like the sql query window, the output of the sql parser and stuff. *g*
Personally, I'm contend with non-monospaced fonts but agree, that monospaced fonts are generally a good idea (tm)...
Regards,
Garvin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
These are the patched files to correct this. I think i a have all
the files but let me know if it doesnt look right when you
merge it.
Btw. I placed <span class=syntax> in front of all the syntax i
could find. That is, with the exception of the sql history page.
The history page is not working properly on my browser so
there isnt much I could do.
Please also note that the coloured sql places the <span
class="syntax"> in the page with the colorized functions. It
would be ideal if it did not do this and every syntax example
was spanned as it was being displayed or via a generic
function. Right now the <span> is being inserted in different
way for the rest of them.
Cheers
Brendan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=473563
Clarified summary.
Logged In: YES
user_id=722829
Courier is an example of a monospace font. Most (if not all)
code editors use a monospace font. in a monospace font, very
key is the same length. so 10 i's and 10 w's will take up the
same space. One reason why code is more easy to read in
monospace, is all the spacing lines up. An example of this is
any indent at the beginning of the line.
Logged In: YES
user_id=473563
Brendan,
would you be able to use the current CVS CSS-Layout system and try to integrate this font? You may need to adjust the language-font faces or introduce a new codeface-variable.
And, of course, you would have to look out for the places, where monospace fonts are needed, like the sql query window, the output of the sql parser and stuff. *g*
Personally, I'm contend with non-monospaced fonts but agree, that monospaced fonts are generally a good idea (tm)...
Regards,
Garvin.
Logged In: YES
user_id=722829
These are the patched files to correct this. I think i a have all
the files but let me know if it doesnt look right when you
merge it.
Btw. I placed <span class=syntax> in front of all the syntax i
could find. That is, with the exception of the sql history page.
The history page is not working properly on my browser so
there isnt much I could do.
Please also note that the coloured sql places the <span
class="syntax"> in the page with the colorized functions. It
would be ideal if it did not do this and every syntax example
was spanned as it was being displayed or via a generic
function. Right now the <span> is being inserted in different
way for the rest of them.
Cheers
Brendan
mod files
Logged In: YES
user_id=192186
Is is possible to post patch for this to see just what changed?
Logged In: YES
user_id=192186
You can create theme of any look you wish and make it
available, so this is out of date...