replaces the document content at the specified offset and length with the specified string . concode_field_sep Image image concode_elem_sep int documentOffset concode_elem_sep int cursorPosition concode_elem_sep String replacementString concode_elem_sep String displayString concode_elem_sep int contextInformationPosition concode_elem_sep String additionalProposalInfo concode_elem_sep int replacementLength concode_elem_sep IContextInformation contextInformation concode_elem_sep char[] triggerCharacters concode_elem_sep int replacementOffset concode_field_sep IContextInformation getContextInformation concode_elem_sep void setContextInformation concode_elem_sep String getAdditionalProposalInfo concode_elem_sep char[] getTriggerCharacters concode_elem_sep void setTriggerCharacters concode_elem_sep void apply concode_elem_sep void apply concode_elem_sep void setCursorPosition concode_elem_sep void setReplacementOffset concode_elem_sep void setReplacementString concode_elem_sep int getReplacementOffset concode_elem_sep Point getSelection concode_elem_sep int getContextInformationPosition concode_elem_sep int getReplacementLength concode_elem_sep String getReplacementString concode_elem_sep boolean isValidFor concode_elem_sep String getDisplayString concode_elem_sep void setReplacementLength concode_elem_sep Image getImage concode_elem_sep void setImage
void function ( IDocument arg0 , int arg1 , int arg2 , String arg3 ) { if ( arg0 != null && arg3 != null && arg1 >= 0 && arg2 >= 0 ) { if ( ! arg0 . get ( arg1 , arg2 ) . equals ( arg3 ) ) arg0 . replace ( arg1 , arg2 , arg3 ) ; } }