[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 104699] New: code completion inserts the completed name at the top of the file instead at the c
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-04-28 11:58:35
Message-ID: 20050428135834.104699.te () profzone ! ch
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=104699         
           Summary: code completion inserts the completed name at the top of
                    the file instead at the cursor position if the
                    completion has only one choice from the beginning.
           Product: kdevelop
           Version: CVS
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: te profzone ch


Version:           CVS (using KDE 3.3.0, SuSE)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.14-default

If there is only one possibility in a code completion from beginning, the completed \
text was inserted at position 0, 0.

Background: The code part, that checks if only one true match exists, uses the member \
variables m_ccLine and m_ccColumn to get the position where the text should be \
inserted.

This variables are set in the slot "slotTextChanged()". But if there is only one \
match, "slotTextChanged" is never called. So both variables are still on 0,0.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic