Java 类com.intellij.openapi.editor.impl.BulkChangesMerger 实例源码

项目:intellij-ce-playground    文件:BulkChangesMergerTest.java   
@Before
public void setUp() {
  myMerger = new BulkChangesMerger();
}
项目:intellij-ce-playground    文件:FormatProcessor.java   
private void update(@NotNull List<? extends TextChange> changes) {
  BulkChangesMerger merger = BulkChangesMerger.INSTANCE;
  for (Map.Entry<Editor, Integer> entry : myCaretOffsets.entrySet()) {
    entry.setValue(merger.updateOffset(entry.getValue(), changes));
  }
}
项目:tools-idea    文件:BulkChangesMergerTest.java   
@Before
public void setUp() {
  myMerger = new BulkChangesMerger();
}
项目:consulo    文件:BulkChangesMergerTest.java   
@Before
public void setUp() {
  myMerger = new BulkChangesMerger();
}
项目:consulo    文件:CaretOffsetUpdater.java   
public void update(@Nonnull List<? extends TextChange> changes) {
  BulkChangesMerger merger = BulkChangesMerger.INSTANCE;
  for (Map.Entry<Editor, Integer> entry : myCaretOffsets.entrySet()) {
    entry.setValue(merger.updateOffset(entry.getValue(), changes));
  }
}