completed = true;
    public boolean complete(ScrollableShellConsole console, CommandShell shell)    {    	CompletionInfo info;		boolean completed = false;        if (posOnCurrentLine != currentLine.length()) {            String ending = currentLine.substring(posOnCurrentLine);            info = shell.complete(currentLine.substring(0,                    posOnCurrentLine));             if(info.getCompleted() != null)            {				setContent(info.getCompleted() + ending);	            posOnCurrentLine = currentLine.length() - ending.length();				completed = true;	            	        }        } else {        	info = shell.complete(currentLine.toString());        	if(info.getCompleted() != null)        	{ 				setContent(info.getCompleted());	            posOnCurrentLine = currentLine.length();				completed = true;	            			}        }            			return completed;  	}