public StructuredSyntaxDocumentFilter(DefaultStyledDocument document){
  this.styledDocument=document;
}

public StructuredSyntaxDocumentFilter ( DefaultStyledDocument document ) { this . styledDocument = document ; }
creates a new instance of structuredsyntaxdocumentfilter
