This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/5357] New: member completion only searching current object


The code reads:

    public boolean completeMember(String incomplete, List candidates) {
        int completions = 0;
        for (Iterator i = nameToMember.keySet().iterator(); i.hasNext(); ) {
            String member = (String)i.next();
            if (member.startsWith(incomplete)) {
                completions++;
                candidates.add(member);
            }
        }
        return completions > 0;
    }

which works for C, but not C++

-- 
           Summary: member completion only searching current object
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5357

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]