123124125126127128129130131132133
} finally { model.changedModel(); model.endRecording(this); } } finally { model.releaseFromEdit(); } } }
202203204205206207208209210211212
} } finally { model.changedModel(); model.endRecording(this); model.releaseFromEdit(); } } } private boolean validateAndPushLocation(
135136137138139140141142143144145
// the formatting document.set(beforeFormat); modelForEdit.save(); } finally { if (modelForEdit != null) { modelForEdit.releaseFromEdit(); } } } protected IFile createFile(String data) throws Exception {
184185186187188189190191192193194
// the formatting document.set(beforeFormat); modelForEdit.save(); } finally { if (modelForEdit != null) { modelForEdit.releaseFromEdit(); } } } }); } catch (final Exception e) {
7273747576777879808182
&& structuredModel.isSaveNeeded()) { structuredModel.save(); } } finally { // release from model manager structuredModel.releaseFromEdit(); } } public void formatModel(IStructuredModel structuredModel) {
309310311312313314315316317318319
} } finally { reader.close(); if (modelForEdit != null) { modelForEdit.releaseFromEdit(); } } return results; } }
217218219220221222223224225226227
selectionEndLine); } } finally { model.changedModel(); model.endRecording(this); model.releaseFromEdit(); } } } private void updateCurrentSelection(ITextEditor textEditor,
204205206207208209210211212213214
195196197198199200201202203204205
// the formatting document.set(beforeFormat); modelForEdit.save(); } finally { if (modelForEdit != null) { modelForEdit .releaseFromEdit(); } } } });