L
Laurence
In VS.2005, using VB.NET
My editor is behaving strangely.
If I press the tab key, the line moves over the appropriate
number of spaces. When I click on another line, the line that I had tab'd on
moves over more spaces.
I have changed the tab and insert, but it doesn't seem to work.
The help says:
Indent size
Sets the size in spaces of an automatic indentation. The default is four spaces. Tab characters, space characters, or both
will be inserted to fill the specified size.
What does this mean? What is an "Automatic indentation?"
Is that a tab?
What exactly is the difference between tab and automatic indentation,
do they influence one another.
Thanks in Advance,
Laurence
'--------------------------------------------------------------------------------------------------------------------
Indenting
None
When selected, new lines are not indented. The insertion point is placed in the first column of a new line.
Block
When selected, new lines are automatically indented. The insertion point is placed at the same starting point as the
preceding line.
Smart
When selected, new lines are positioned to fit the code context, per other code formatting settings and IntelliSense
conventions for your development language. This option is not available for all development languages.
For example, lines enclosed between an opening brace ( { ) and a closing brace ( } ) might automatically be indented an extra
tab stop from the position of the aligned braces.
Tabs
Tab size
Sets the distance in spaces between tab stops. The default is four spaces.
Indent size
Sets the size in spaces of an automatic indentation. The default is four spaces. Tab characters, space characters, or both
will be inserted to fill the specified size.
Insert spaces
When selected, indent operations insert only space characters, not TAB characters. If the Indent size is set to 5, for
example, then five space characters are inserted whenever you press the TAB key or the Increase Indent button on the
Formatting toolbar.
Keep tabs
When selected, indent operations insert as many TAB characters as possible. Each TAB character fills the number of spaces
specified in Tab size. If the Indent size is not an even multiple of the Tab size, space characters are added to fill in the
difference.
My editor is behaving strangely.
If I press the tab key, the line moves over the appropriate
number of spaces. When I click on another line, the line that I had tab'd on
moves over more spaces.
I have changed the tab and insert, but it doesn't seem to work.
The help says:
Indent size
Sets the size in spaces of an automatic indentation. The default is four spaces. Tab characters, space characters, or both
will be inserted to fill the specified size.
What does this mean? What is an "Automatic indentation?"
Is that a tab?
What exactly is the difference between tab and automatic indentation,
do they influence one another.
Thanks in Advance,
Laurence
'--------------------------------------------------------------------------------------------------------------------
Indenting
None
When selected, new lines are not indented. The insertion point is placed in the first column of a new line.
Block
When selected, new lines are automatically indented. The insertion point is placed at the same starting point as the
preceding line.
Smart
When selected, new lines are positioned to fit the code context, per other code formatting settings and IntelliSense
conventions for your development language. This option is not available for all development languages.
For example, lines enclosed between an opening brace ( { ) and a closing brace ( } ) might automatically be indented an extra
tab stop from the position of the aligned braces.
Tabs
Tab size
Sets the distance in spaces between tab stops. The default is four spaces.
Indent size
Sets the size in spaces of an automatic indentation. The default is four spaces. Tab characters, space characters, or both
will be inserted to fill the specified size.
Insert spaces
When selected, indent operations insert only space characters, not TAB characters. If the Indent size is set to 5, for
example, then five space characters are inserted whenever you press the TAB key or the Increase Indent button on the
Formatting toolbar.
Keep tabs
When selected, indent operations insert as many TAB characters as possible. Each TAB character fills the number of spaces
specified in Tab size. If the Indent size is not an even multiple of the Tab size, space characters are added to fill in the
difference.