font size
Yes you can change the fonts. Open the global options file (from the options menu) and scroll down to approximately line 397 and you should see the font settings. You can change a munch of other things in this file as well by referring to the SCiTe manual. I changed my fonts from the default 12 point to 10 point as follows:
Code: Select all
if USE_ZBASIC_SETTINGS
# font.monospace=font:Courier New,size:12
# font.base=$(font.monospace)
# font.small=$(font.monospace)
# font.comment=font:Courier New,size:12,italics
# font.code.comment.box=$(font.comment)
# font.code.comment.line=$(font.comment)
# font.code.comment.doc=$(font.comment)
# font.text=font:Lucida Sans Unicode,size:10
# font.text.comment=font:Lucida Sans Unicode,size:10
# font.embedded.base=font:Lucida Sans Unicode,size:10
# font.embedded.comment=font:Comic Sans MS,size:8,italics
# font.vbs=font:Lucida Sans Unicode,size:9
# font.js=font:Courier New,size:12
font.monospace=font:Courier New,size:10
font.base=$(font.monospace)
font.small=$(font.monospace)
font.comment=font:Courier New,size:10,italics
font.code.comment.box=$(font.comment)
font.code.comment.line=$(font.comment)
font.code.comment.doc=$(font.comment)
font.text=font:Lucida Sans Unicode,size:9
font.text.comment=font:Lucida Sans Unicode,size:9
font.embedded.base=font:Lucida Sans Unicode,size:9
font.embedded.comment=font:Comic Sans MS,size:7,italics
font.vbs=font:Lucida Sans Unicode,size:8
font.js=font:Courier New,size:10
font.bas=$(font.monospace)
start.in.monospaced.mode=1
Mike Perks
It is probably better to put your customizations in the 'User Options' file. The Global Options are read in first, followed by the User Options so the latter settings effectively override those in the former.
On the Options menu, select 'Open User Options File'. This file will initially be empty. Add or modify what you want and then exit the IDE and restart it. If you copy sections from the Global Options file, omit the 'if USE_ZBASIC_SETTINGS' lines. Those are used to selectively include sections and the controlling variable may not be active when the User Options is read.
The main advantage to customizing using the User Options file is that reinstalling the IDE will overwrite the Global Options but not the User Options.
On the Options menu, select 'Open User Options File'. This file will initially be empty. Add or modify what you want and then exit the IDE and restart it. If you copy sections from the Global Options file, omit the 'if USE_ZBASIC_SETTINGS' lines. Those are used to selectively include sections and the controlling variable may not be active when the User Options is read.
The main advantage to customizing using the User Options file is that reinstalling the IDE will overwrite the Global Options but not the User Options.
- Don Kinzer
-
- Posts: 163
- Joined: 24 March 2008, 23:33 PM
- Location: Southern California (Blue)
Tighter Line Spacing Needed
I appreciate the large default font size (12-point) in the ZBasic IDE, but I prefer more visible lines of code per screen on my laptop. Reducing the font size to 10-point helps, but that is the limit of my vision. Is it possible to reduce the line spacing from 1.0 to 0.8 as in MS Word? Thank you.
Re: Tighter Line Spacing Needed
As far as I can tell there isn't a way to compress the vertical spacing of the lines.liam.zbasic wrote:Is it possible to reduce the line spacing from 1.0 to 0.8 as in MS Word?
- Don Kinzer
Re: Tighter Line Spacing Needed
I found a workaround that may help. There are several factors that control the line spacing, one of which is the font selected for the line number column even when the line numbers are not visible. Consequently, specifying a smaller font for the line numbers may reduce overall line spacing.liam.zbasic wrote:Is it possible to reduce the line spacing from 1.0 to 0.8 as in MS Word?
Try adding a line like the one below to your User Options file which can be loaded via the Options menu. The font size should be no larger than that for the lines themselves.
Code: Select all
style.*.33=back:#C0C0C0,font:Courier New,size:10
- Don Kinzer