public class TabsToSpacesConverter extends Object implements IAutoEditStrategy
Clients usually instantiate and configure this class but can also extend it in their own subclass.
Constructor and Description |
---|
TabsToSpacesConverter() |
Modifier and Type | Method and Description |
---|---|
void |
customizeDocumentCommand(IDocument document,
DocumentCommand command)
Allows the strategy to manipulate the document command.
|
void |
setLineTracker(ILineTracker lineTracker) |
void |
setNumberOfSpacesPerTab(int ratio) |
public void setNumberOfSpacesPerTab(int ratio)
public void setLineTracker(ILineTracker lineTracker)
public void customizeDocumentCommand(IDocument document, DocumentCommand command)
IAutoEditStrategy
customizeDocumentCommand
in interface IAutoEditStrategy
document
- the document that will be changedcommand
- the document command describing the change
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.