if (rules == null && !setName.startsWith(rulePfx))
String modeName = setName.substring(0, delim);  Mode mode = jEdit.getMode(modeName); if(mode == null)
	public ParserRuleSet getRuleSet(String setName)	{		ParserRuleSet rules;		int delim = setName.indexOf("::");		if (delim == -1)		{			rules = (ParserRuleSet) ruleSets.get(rulePfx.concat(setName));		}		else		{			rules = (ParserRuleSet) ruleSets.get(setName);			if (rules == null && !setName.startsWith(rulePfx))			{				String modeName = setName.substring(0, delim);				rules = getExternalRuleSet(modeName,					setName.substring(delim + 2));				// store external ParserRuleSet in the local hashtable for				// faster lookups later				if (rules != null) ruleSets.put(setName, rules);			}		}		if (rules == null)		{			Log.log(Log.ERROR,this,"Unresolved delegate target: " + setName);		}		return rules;	}