return sb.toString();
}
public static String propose(StyleRange[] actual, IDocument document) {
Map<Color, PreferenceKey> reverse = new HashMap<Color, PreferenceKey>();
Preferences prefs = Preferences.getInstance();
for (PreferenceKey k : PreferenceKey.values()) {
if (k.name().startsWith("COLOR_")) { //$NON-NLS-1$
Color c = prefs.getColor(k);
reverse.put(c, k);
}
}
StringBuilder out = new StringBuilder();