Tab configuration for Cobol Programming

General and specific configuration/INI settings

Tab configuration for Cobol Programming

Postby giorgioperozzi » Thu Apr 20, 2006 10:52 am

Hi everyone,

I use UltraEdit for Cobol programming too, until I used an old version of the editor, I had to set only one option to set the Tab spacing,
"Tab Space Value" (or number of spaces etc.) and the correct value was "8".
In the new version, otherwise, there are two options to set:

-Tab Positons
-Tab Space

I would know how to set these values to have the same behaviour as before.

Thank you very much!
User avatar
giorgioperozzi
Newbie
 
Posts: 4
Joined: Wed Apr 19, 2006 11:00 pm

Re: Tab configuration for Cobol Programming

Postby MrBillG » Thu Apr 20, 2006 12:50 pm

Hi Giorgioperozzi

Yes it has changed! For the better we hope!

First off the Help file is incredible, look up "Word Wrap/Tab Settings".

The new tab setting is a LOT more flexable (maybe too flexable).
Because you code in Cobol you can have your own tab setting, the suffix determines the tab setting.

I program in RPG so I can have my own tab setting, controlled by .RPG suffix.

Okay, show me how it works, right? I'm going to cheat and quote the help file!
The user may define multiple TAB stop values (up to 12) in comma-delimited format, i.e. "4,4,8". The last value defined will be used for subsequent TABS. In the example above, the first two TABS would be equal to four spaces and all subsequent TABS would be equivalent to 8 spaces.

Where you make the changes is under pull down menu "Advanced" --> "Configuration..."
Click on the plus sign for "Editor" last one in that list, "Word Wrap/Tab settings".

So if you want to make the default 8 just enter a 8 there!

Good Luck
User avatar
MrBillG
Advanced User
Advanced User
 
Posts: 65
Joined: Sat Aug 07, 2004 11:00 pm

Re: Tab configuration for Cobol Programming

Postby Mofi » Sat Apr 22, 2006 12:40 pm

If you have not checked the checkbox named Use spaces in place of tabs above the 2 enter fields, the second field on the right side for the Indent Spaces is not important because it is ignored by UE and UE will always use a horizontal tab and never a space for indents. In the left enter field named Tab Stop Value you have to enter 8. That's it. The help of UE should help you further.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4058
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Tab configuration for Cobol Programming

Postby giorgioperozzi » Tue May 02, 2006 10:28 am

Ok, thank you very much, it's exactly what I wanted to know.
User avatar
giorgioperozzi
Newbie
 
Posts: 4
Joined: Wed Apr 19, 2006 11:00 pm


Return to Configuration/INI Settings