Sets the size of the characters for the Source view and the Editor window.
Scope: View
Syntax
query fontsize
set fontsize [N [Facename ]] | [ default ]
Option
N |
The point size used to display
characters in the Editor. N
must be an integer value greater than 0.
|
||
default |
Font display is controlled by the value of the default parameter. |
Description
The fontsize parameter sets the size of the characters for the Editor. The size of the file view remains the same and the file is redrawn with the top line as the top of the new file view. If any typeface has been defined, the Editor sets the corresponding face for the new size.
If the value of the fontsize parameter is default, font and font size are controlled by the value of the default parameter.
Examples
set fontsize 8
set fontsize 10 System VIO
set fontsize default
query fontsize
If this query returns DEFAULT, type the following:
query default.fontsize
API Return Code
-2 |
The value specifed for fontsize is not valid. |
![]()
