LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing font size in the automatic source code documentation

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.

0 Kudos
Message 1 of 6
(3,883 Views)

Hey Paul - 

 

One way to do this would be to embed HTML directly into the documentation -

 

NickB11-03-14_29_15.png 

 

NickB

National Instruments 

0 Kudos
Message 2 of 6
(3,879 Views)

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

0 Kudos
Message 3 of 6
(3,876 Views)

Nick,

 

Also for some reason the HTML does not like spaces it took 30 spaces and combine them into 1.

 

Paul

0 Kudos
Message 4 of 6
(3,874 Views)

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.

Eric B.
National Instruments
0 Kudos
Message 5 of 6
(3,797 Views)

Eric,

 

Thanks for the help.

 

Paul

0 Kudos
Message 6 of 6
(3,787 Views)