public void customizeDocumentCommand( IDocument d, DocumentCommand c )
{
LdifFile model = editor.getLdifModel();
LdifContainer container = LdifFile.getContainer( model, c.offset );
LdifContainer innerContainer = container != null ? LdifFile.getInnerContainer( container, c.offset ) : null;
LdifPart part = container != null ? LdifFile.getContainerContent( container, c.offset ) : null;
boolean smartInsertAttributeInModSpec = LdifEditorActivator.getDefault().getPreferenceStore().getBoolean(
LdifEditorConstants.PREFERENCE_LDIFEDITOR_CONTENTASSIST_SMARTINSERTATTRIBUTEINMODSPEC );
if ( smartInsertAttributeInModSpec )