@Override
    public void display(UserInterface ui) {
        UserInterface.println("Current function: " + functionName);
        if (currentLineNumber == -1) {
            UserInterface.println("");
            return;
        }

        int i = startLineNumber;
        for (Map.Entry<String, Boolean> e : functionLines.entrySet()) {
            if (e.getValue()) {
                UserInterface.print("* " + i + ".");
            } else {
                UserInterface.print("  " + i + ".");
            }
            for (int j = 0; j < 3 - new Integer(i).toString().length(); j++) {
                UserInterface.print(" ");
            }
            UserInterface.print(e.getKey());
            if (i++ == currentLineNumber) {
                UserInterface.println(" <---");
            } else {
                UserInterface.println("");
            }
        }
        UserInterface.println("");
    }