return;
}
try
{
LdifParser parser = new LdifParser();
IDocument document = viewer.getDocument();
ITypedRegion partition = document.getPartition( cursorPos );
// now use position relative to partition
int offset = partition.getOffset();
int relativePos = cursorPos - offset;
// parse partition
String s = document.get( partition.getOffset(), partition.getLength() );
LdifFile model = parser.parse( s );
LdifContainer container = LdifFile.getContainer( model, relativePos );
if ( container != null )
{
LdifPart part = LdifFile.getContainerContent( container, relativePos );