| Summary: | Find in the details section of the "variables" view does not reveal found elements | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Pascal Rapicault <pascal> |
| Component: | Text | Assignee: | 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
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. 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. 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. 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. |