Exact line spacing ?

Display customization and font issues

Exact line spacing ?

Postby vonip » Sat Feb 03, 2007 12:42 pm

I have found only "Single", "1 1/2 Spacing" and "Double Spacing" settings for Spacing [menu: View|Spacing]. Single is too tight and 1 1/2 too wide.

Is there possible exact (e.g. in % or pixels) settings for this feature ?
It is very important for me using this editor.

Thanks.
User avatar
vonip
Newbie
 
Posts: 3
Joined: Mon Aug 16, 2004 11:00 pm

Re: Exact line spacing ?

Postby Mofi » Sat Feb 03, 2007 4:18 pm

Yes, the line spacing can be specified in %. The line spacing is saved in uedit32.ini with 2 settings at [Settings]

Spacing Multiplier=1
Spacing Divisor=1

The line spacing factor used is calculated by Spacing Multiplier / Spacing Divisor.

Some examples:

Single Spacing is: Spacing Multiplier=1 and Spacing Divisor=1 - result is 1.00.

1 1/2 Spacing is: Spacing Multiplier=3 and Spacing Divisor=2 - result is 1.50.

Double Spacing is: Spacing Multiplier=2 and Spacing Divisor=1 - result is 2.00.

1 1/3 Spacing is: Spacing Multiplier=4 and Spacing Divisor=3 - result is 1.33.

1 1/4 Spacing is: Spacing Multiplier=5 and Spacing Divisor=4 - result is 1.25.

You can only enter integer values for the 2 settings. And you cannot edit the 2 settings in uedit32.ini with UltraEdit itself when it uses this uedit32.ini because it will reset the 2 values when closing UltraEdit. You either create a copy of uedit32.ini and modify the 2 settings in the copy, close UE and replace the original uedit32.ini with the modified copy or you use Notepad to edit uedit32.ini while UltraEdit is not running.

Where is uedit32.ini? Since UE v12.20 you can see it in the configuration dialog at Application Layout - Advanced - INI File Location or use the infos posted at UltraEdit INI file location to find uedit32.ini.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4066
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Exact line spacing ?

Postby vonip » Tue Feb 13, 2007 12:18 pm

Thank you. It works fine.
User avatar
vonip
Newbie
 
Posts: 3
Joined: Mon Aug 16, 2004 11:00 pm


Return to Editor Display