numLinea=Integer.parseInt(selec.getText());
numLinea--;
IEditorPart editor=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
if(editor instanceof MaudeEditor){
MaudeEditor maudeEditor= (MaudeEditor)editor;
IDocument documento=maudeEditor.getDocumentProvider().getDocument(maudeEditor.getEditorInput());
int offSet=documento.getLineOffset(numLinea);
TextSelection seleccion = new TextSelection(offSet,documento.getLineLength(numLinea));
maudeEditor.getSelectionProvider().setSelection(seleccion);
}
}catch(NumberFormatException e){}
catch (BadLocationException e) {}