[hg] main-silver: #237747: make fold updates ordered top-down

  • From: Svata Dedic < >
  • To:
  • Subject: [hg] main-silver: #237747: make fold updates ordered top-down
  • Date: Tue, 05 Nov 2013 04:02:47 +0000

changeset 00c26d7289bb in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/00c26d7289bb
description:
        #237747: make fold updates ordered top-down

diffstat:

 editor.fold/src/org/netbeans/modules/editor/fold/FoldOperationImpl.java |  3 
++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff --git 
a/editor.fold/src/org/netbeans/modules/editor/fold/FoldOperationImpl.java 
b/editor.fold/src/org/netbeans/modules/editor/fold/FoldOperationImpl.java
--- a/editor.fold/src/org/netbeans/modules/editor/fold/FoldOperationImpl.java
+++ b/editor.fold/src/org/netbeans/modules/editor/fold/FoldOperationImpl.java
@@ -51,6 +51,7 @@
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.ListIterator;
 import java.util.Map;
@@ -513,7 +514,7 @@
         private List<Fold>              toRemove = new ArrayList<Fold>();
         private Set<Fold>               removedFolds = new HashSet<Fold>();
         private Collection<FoldInfo>    toAdd = new ArrayList<FoldInfo>();
-        private Map<FoldInfo, Fold>     currentFolds = new HashMap<FoldInfo, 
Fold>();
+        private Map<FoldInfo, Fold>     currentFolds = new 
LinkedHashMap<FoldInfo, Fold>();
 
         /**
          * Transaction which covers the update

[hg] main-silver: #237747: make fold updates ordered top-down

Svata Dedic 11/05/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close