public static void removeMarkers(JTextComponent editorPane){
  removeMarkers(editorPane,null);
}

public static void removeMarkers ( JTextComponent editorPane ) { removeMarkers ( editorPane , null ) ; }
remove all the markers from an jeditorpane
