11-03-2009 02:14 PM
I would like to use the automatic source code documentation to document my functions. So I used the ///HIFN on my normal function header, but when displayed the message is messed up due to the difference between sizes of characters/spaces in the font for the Show/Prototype ? message.
Is there a way to change the message font to a font like Courier New where each character/space is the same size. I have tried to change all the fonts in the Options\Font preferences.
11-03-2009 02:30 PM
Hey Paul -
One way to do this would be to embed HTML directly into the documentation -
NickB
National Instruments
11-03-2009 02:37 PM
Nick,
Thanks, it kinda messes up the look of the source code since every function header would have to have the html added to the beginning and end. Makes reading a little bit more difficult.
Paul
11-03-2009 02:52 PM
Nick,
Also for some reason the HTML does not like spaces it took 30 spaces and combine them into 1.
Paul
11-09-2009 05:23 PM
Paul,
HTML interprets a bunch of spaces as just one space. If you want to represent a space in HTML and have it display correctly, you have to use the ' ' character (though this will make your comments even more unreadable) I will file a product suggestion on your behalf to change the default font in the documentation viewer, and in the future, you can file suggestions yourself as well at http://digital.ni.com/applications/psc.nsf/default?OpenForm . The developers look at these suggestions and take them into account when determining what features to include in future versions of the software.
11-10-2009 07:57 AM
Eric,
Thanks for the help.
Paul