public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5357] New: member completion only searching current object
@ 2007-11-19 15:35 cagney at redhat dot com
  2007-11-19 15:36 ` [Bug general/5357] " cagney at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: cagney at redhat dot com @ 2007-11-19 15:35 UTC (permalink / raw)
  To: frysk-bugzilla

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/5357] member completion only searching current object
  2007-11-19 15:35 [Bug general/5357] New: member completion only searching current object cagney at redhat dot com
@ 2007-11-19 15:36 ` cagney at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: cagney at redhat dot com @ 2007-11-19 15:36 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|swagiaal at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-19 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-19 15:35 [Bug general/5357] New: member completion only searching current object cagney at redhat dot com
2007-11-19 15:36 ` [Bug general/5357] " cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).