}
}
- static int getOrAddColorIndex(@NotNull final UserDataHolderEx context,
- @NotNull final String name,
- @NotNull RainbowHighlighter rainbowHighlighter) {
- int colorsCount = rainbowHighlighter.getColorsCount();
+ public static int getOrAddColorIndex(@NotNull final UserDataHolderEx context,
+ @NotNull final String name,
+ int colorsCount) {
- Object data = context.getUserData(USED_COLOR);
-
int colorIndex;
while (true) {
+ Object data = context.getUserData(USED_COLOR);
Object newColors;
if (data == null) {
colorIndex = hashColor(name, colorsCount);
remote.desktop.detected.message=Animation disabled
checkbox.line.comment.add.space=Add a space at comment start
-quarantine.error.message=Error cleaning quarantine status
+ quarantine.dialog.title=Quarantined Folder Detected
+ quarantine.dialog.message=OS marked this folder as 'quarantined', probably because you've downloaded it from web.\
+ Opening files from this folder in external browser might not work as expected. Do you want to clean quarantined status for this folder?
+ quarantine.clean.progress=Cleaning quarantined status for {0}
+ quarantine.error.group=Quarantine Cleaner
+ quarantine.error.title=Warning
++quarantine.error.message=Error cleaning quarantine status
++
+rainbow.option.panel.display.name=Semantic highlighting
+label.override.gradient=<html>Override gradient:</html>
+label.inherited.gradient=<html>Inherited from <a href="{0}">{1}</a> gradient:</html>
+label.inherited.gradient.tooltip=<html>''{0}->Override gradient'' from<br>''{1}'' section</html>
+checkbox.stop.1=Stop #1
+checkbox.stop.2=Stop #2
+checkbox.stop.3=Stop #3
+checkbox.stop.4=Stop #4
+checkbox.stop.5=Stop #5
+checkbox.rainbow=<html>Unique color for each parameter<br>and local variable<br><font color=gray><sub>Chosen from generated gradient</sub></font></html>
+label.rainbow.inheritance=<html><div style="text-align:right" vertical-align="top">''{0}->Unique color''<br>of <a href="{1}">{2}</html>
+label.rainbow.inheritance.tooltip=<html>''{0}->Unique color'' from<br>''{1}'' section</html>