diff --git a/core/src/processing/data/StringDict.java b/core/src/processing/data/StringDict.java index ed284b10b..38b2175eb 100644 --- a/core/src/processing/data/StringDict.java +++ b/core/src/processing/data/StringDict.java @@ -63,6 +63,7 @@ public class StringDict { if (pieces.length == 2) { keys[count] = pieces[0]; values[count] = pieces[1]; + indices.put(keys[count], count); count++; } } diff --git a/core/todo.txt b/core/todo.txt index d083da73c..66d9e5f2d 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,4 +1,6 @@ 0225 core +X bug with StringDict(Reader) that wasn't setting the indices hashmap +_ check this with other versions of this class _ add print() method to other data types (not just IntList) diff --git a/todo.txt b/todo.txt index 0dbf15f50..5e681d23a 100644 --- a/todo.txt +++ b/todo.txt @@ -15,6 +15,8 @@ _ udp library has tabs in the text _ decision to be made on nextTabStop() inside TextAreaPainter _ Chinese text is overlapped in Processing 2.1 editor _ https://github.com/processing/processing/issues/2173 +_ https://github.com/processing/processing/pull/2318 +_ https://github.com/processing/processing/pull/2323 _ check on why 2x core.jar inside the Java folder _ maybe OS X Java can't look in subfolders? (just auto-adds things)