Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 49776

Summary: Find in the details section of the "variables" view does not reveal found elements
Product: [Eclipse Project] Platform Reporter: Pascal Rapicault <pascal>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: cocoakevin, darin.eclipse
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Pascal Rapicault CLA 2004-01-09 11:54:11 EST
When doing a find (ctrl+f) in the "variables" view, if the element found is not 
visible, it is not made visible which requires the user to scroll to see it.
Comment 1 Kevin Barnes CLA 2004-01-15 12:03:33 EST
Could only reproduce the problem when "wrap" was on, and the text being 
searched for was not visible. When not using line wrap, things work as 
expected. It appears to be a text viewer bug - it ensures the line and 
horizontal section are visible (which is true), but this does not take into 
account the use of WRAP.

Moving to Platform-Text.
Comment 2 Dani Megert CLA 2004-01-15 13:26:18 EST
The match is not correctly revealed, it is off by 1 line: I can see a little
line at the bottom of the view. Can you confirm this?

This is caused by the variables detail view which directly modifies widget
(StyledText) attributes (WRAP). The text editor infrastructure currently does
not support auto-wrapping.

Darin, I added you since you might be interested in knowing this.
Comment 3 Kevin Barnes CLA 2004-02-18 14:53:05 EST
We can't reproduce the off by one error. 
Since there is really only one line of text, it is always visible. If WRAP is 
on, that one line of text is displayed as if it were many lines of text. The 
problem is that the viewer thinks that the whole line is visible because both 
line x is visible because it's unaware of the wrapping done by the widget. 
Comment 4 Kevin Barnes CLA 2004-02-18 14:56:29 EST
typo... sorry, long day

Last sentence should have been:
The problem is that the viewer thinks that the whole line is visible because 
it's unaware of the wrapping done by the widget. 
Comment 5 Dani Megert CLA 2006-04-07 04:11:28 EDT

*** This bug has been marked as a duplicate of 35779 ***