{\r
text.append("textColThreshold=" + sg.thresholdTextColour);\r
}\r
+ if (sg.idColour!=null)\r
+ {\r
+ text.append("idColour="+jalview.util.Format.getHexString(sg.idColour)+"\t");\r
+ }\r
\r
text.append("\n\n");\r
\r
if (sg != null)\r
{\r
String keyValue, key, value;\r
+ ColourSchemeI def = sg.cs;\r
+ sg.cs = null;\r
while (st.hasMoreTokens())\r
{\r
keyValue = st.nextToken();\r
{\r
sg.thresholdTextColour = Integer.parseInt(value);\r
}\r
-\r
+ else if (key.equalsIgnoreCase("idColour"))\r
+ {\r
+ sg.setIdColour((def = new UserColourScheme(value)).findColour('A'));\r
+ }\r
sg.recalcConservation();\r
}\r
+ if (sg.cs==null)\r
+ {\r
+ sg.cs = def;\r
+ }\r
}\r
}\r
\r