org.eclipse.cdt.internal.ui.text
Class CCommentAutoIndentStrategy

java.lang.Object
  extended by org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy
      extended by org.eclipse.cdt.internal.ui.text.CCommentAutoIndentStrategy
All Implemented Interfaces:
org.eclipse.jface.text.IAutoEditStrategy

public class CCommentAutoIndentStrategy
extends org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy

Auto indent strategy for C/C++ multiline comments


Constructor Summary
CCommentAutoIndentStrategy()
           
 
Method Summary
 void customizeDocumentCommand(org.eclipse.jface.text.IDocument d, org.eclipse.jface.text.DocumentCommand c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCommentAutoIndentStrategy

public CCommentAutoIndentStrategy()
Method Detail

customizeDocumentCommand

public void customizeDocumentCommand(org.eclipse.jface.text.IDocument d,
                                     org.eclipse.jface.text.DocumentCommand c)
Specified by:
customizeDocumentCommand in interface org.eclipse.jface.text.IAutoEditStrategy
Overrides:
customizeDocumentCommand in class org.eclipse.jface.text.DefaultIndentLineAutoEditStrategy