소스 검색

Code cleanup

devmil 4 년 전
부모
커밋
7d6d22bd1c
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      lib/buffer/buffer_reflow.dart

+ 0 - 4
lib/buffer/buffer_reflow.dart

@@ -151,10 +151,6 @@ class BufferReflow {
     // than earlier so that it's a single O(n) pass through the buffer, instead of O(n^2) from many
     // costly calls to CircularList.splice.
     if (toInsert.length > 0) {
-      // Record buffer insert events and then play them back backwards so that the indexes are
-      // correct
-      List<int> insertEvents = [];
-
       // Record original lines so they don't get overridden when we rearrange the list
       List<BufferLine> originalLines = List<BufferLine>.from(_buffer.lines);
       _buffer.lines.addAll(