internal virtual void listFunctionsFor(System.Text.StringBuilder sb, SourceFile m) { String[] names = m.getFunctionNames(m_session); if (names == null) return ; ArrayUtil.sort(names); System.Collections.IDictionary args = new System.Collections.Hashtable(); args["sourceFile"] = m.Name + "#" + m.Id; //$NON-NLS-1$ //$NON-NLS-2$ sb.Append(LocalizationManager.getLocalizedTextString("functionsInSourceFile", args)); //$NON-NLS-1$ sb.Append(m_newline); for (int j = 0; j < names.Length; j++) { String fname = names[j]; sb.Append(' '); sb.Append(fname); sb.Append(' '); sb.Append(m.getLineForFunctionName(m_session, fname)); sb.Append(m_newline); } }