Activity overview
Latest activity by MWilliams
David,
Thanks for all the work on that ... and for all the input from the various members of the team. Completely agree that the escaping method is the 'correct' way to go (I noticed that this is adopted elsewhere) so will look forward to it appearing.
Cheers,
Matt. / comments
David,
Thanks for all the work on that ... and for all the input from the various members of the team. Completely agree that the escaping method is the 'correct' way to go (I noticed that this is a...
More playing ... and I've discovered something else.
The HTML generated by the different comment type (block comments '/**/', or line comments '--') is different. This is what is causing extra line feeds to be introduced when the 'white-space: pre;' line is put into the master.css.
eg. /* This comment */
Will get the following line of html
<span class='sqlScriptsComment'>/* This comment */</span>
<br />
but: -- This comment
Will get the following:
<span class='sqlScriptsComment'>-- Comment here
</span>
<br />
(Notice that the line feed at the end of the comment, has been introduced into the span ... resulting in two line feeds when rendered in the HTML!!)
Interested to hear what you think.
Thanks,
Matt. / comments
More playing ... and I've discovered something else.
The HTML generated by the different comment type (block comments '/**/', or line comments '--') is different. This is what is causing extra line...
OK ... so the difference between IE and FireFox is the Carriage return / line feed issue which should be easy for me to fix.
The 'padding' however is observed in both ... so after I've played around a little with the actual text to make sure the the correct lf/cr is being used it should be a workable solution.
Thanks,
Matt. / comments
OK ... so the difference between IE and FireFox is the Carriage return / line feed issue which should be easy for me to fix.
The 'padding' however is observed in both ... so after I've played aroun...
Hmmm I'm now changing my mind ... it works in FireFox ... but not in IE arggg .... !!!! / comments
Hmmm I'm now changing my mind ... it works in FireFox ... but not in IE arggg .... !!!!
I made the following alteration to the Master.css:
.sqlScriptsComment
{
color: green; white-space: pre; }
This sorted everything out ... linefeeds and whitespace. Introduced a few extra blank lines elsewhere ... but that is of much less importance.
Thanks for the help,
Matt. / comments
I made the following alteration to the Master.css:
.sqlScriptsComment
{
color: green; white-space: pre;}
This sorted everything out ... linefeeds and whitespace. Introduced a few extra blank lines ...
Thanks for that ... interesting to see the result you got.
I'll investigate the Carriage return / line feed difference and see what comes up.
The white space thing is really a HTML thing (it will ignore multiple whitespaces together) ... might be possible to fix simply in the stylesheet, I've not checked. The other alternatives I can think of are just way to ugly to mention!!!
Matt.
PS Just done a quick search for stylesheets and whitespace ... there looks like there might be something I can test ... I'll let you know the results / comments
Thanks for that ... interesting to see the result you got.
I'll investigate the Carriage return / line feed difference and see what comes up.
The white space thing is really a HTML thing (it will i...
It is in the 'SQL Script' section of the stored proc, trigger etc.
These style comments are there for people when they are reviewing/modifying code on the database ... it would be really nice therefore if they were as readable in the docs.
Hope that answers the question ... if not then just let me know.
Thanks,
Matt. / comments
It is in the 'SQL Script' section of the stored proc, trigger etc.
These style comments are there for people when they are reviewing/modifying code on the database ... it would be really nice there...
Block comments - white space and line feeds
Hi there,
Seeing some interesting output from the documenter in HTML.
Block comments like the ones below:/*********************************/
/* This is a title */
/* ------------...