NAnt SDK Documentation - v0.92

TabsToSpaces Class

Converts tabs to spaces.

For a list of all members of this type, see TabsToSpaces Members.

System.Object
   NAnt.Core.Element
      NAnt.Core.Filters.ChainableReader
         NAnt.Core.Filters.Filter
            NAnt.Core.Filters.TabsToSpaces

[Visual Basic]
<ElementName(Name:="tabstospaces")>
Public Class TabsToSpaces
    Inherits Filter
[C#]
[ElementName(Name="tabstospaces")]
public class TabsToSpaces : Filter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The TabsToSpaces filter replaces tabs in a text file with spaces.

Filters are intended to be used as a element of a FilterChain.

Example

Replace all tabs with four spaces.

   
<tabtospaces tablength="4" />
   
 

Requirements

Namespace: NAnt.Core.Filters

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

TabsToSpaces Members | NAnt.Core.Filters Namespace