public NginxDirectiveValue handleContentChange(NginxDirectiveValue element, TextRange range, String newContent) throws IncorrectOperationException {
String oldText = element.getText();
String newText = oldText.substring(0, range.getStartOffset()) + newContent + oldText.substring(range.getEndOffset());
Document document = FileDocumentManager.getInstance().getDocument(element.getContainingFile().getVirtualFile());
document.replaceString(element.getTextRange().getStartOffset(), element.getTextRange().getEndOffset(), newText);
PsiDocumentManager.getInstance(element.getProject()).commitDocument(document);
NginxServersConfiguration nginxServersConfiguration = ApplicationManager.getApplication().getComponent(NginxServersConfiguration.class);
nginxServersConfiguration.rebuildFilepaths();