@Throws(BadLocationException::class) fun applyAll(changes: Collection<IChange?>?) { val changesPerFile: Map<URI, List<IAtomicChange>> = organize(changes) for (currURI in changesPerFile.keySet()) { val document: IXtextDocument = getDocument(currURI) applyAllInSameDocument(changesPerFile[currURI], document) } }
Applies all given changes .