[Bug 73270] New: cursor disappears when searched text is found inside a collapsed block

Endel Soolo esoolo at physic.ut.ee
Thu Jan 22 20:44:02 UTC 2004


------- 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=73270      
           Summary: cursor disappears when searched text is found inside a
                    collapsed block
           Product: kdevelop
           Version: 3.0.0b2
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: esoolo at physic.ut.ee


Version:           3.0.0b2 (using KDE KDE 3.1.5)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Open this simple program file in any of the available editors:

int main ()
{
printf("Hello, world!\n");
}

Collapse all blocks so that screen looks like this:

 int main ()
+{

Search for the word "Hello".

What should happen:

* the collapsed block that contains the searched keyword becomes expanded
or
* cursor moves to the beginning of the collapsed block.

What actually happens:

If the QT-based editor is used, then cursor's coordinates on the status
bar remain the same as before the search command was given,
but cursor itself disappears. The collapsed block remains collapsed.

If the internal editor is used, then cursor's coordinates on the status bar
will show the correct location of the searched word (Line 3, Col 13),
but cursor disappears from the screen and the text block remains collapsed.




More information about the KDevelop-devel mailing list