nemi
Class CmdCompletion

public class CmdCompletion
Given a python interpreter and a string, and returns a list of possible completions for the last object in the input/.
Method Detail

compareChars

private static boolean compareChars(char ch1,
                                    char ch2,
                                    boolean ignoreCase)
Copied from JEdit (http://cvs.sourceforge.net/viewcvs.py/jedit/jEdit/org/gjt/sp/jedit/MiscUtilities.java?rev=1.83&view=auto)

getLongestPrefix

public static java.lang.String getLongestPrefix(java.util.List str,
                                                boolean ignoreCase)
Copied from JEdit (http://cvs.sourceforge.net/viewcvs.py/jedit/jEdit/org/gjt/sp/jedit/MiscUtilities.java?rev=1.83&view=auto) Returns the longest common prefix in the given set of strings.
Parameters:
str - The strings
ignoreCase - If true, case insensitive
Since:
jEdit 4.2pre2

getMethods

public static java.util.List getMethods(org.python.util.PythonInterpreter pyInterpreter,
                                        java.lang.String input)
Given a Jython input string, return a list of methods that the final returned class implements
Parameters:
pyInterpreter -
input -
Returns:
list of Method dfsNode