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

Bug 344456

Summary: SWTBotEditor.getTextForLine()
Product: [Technology] SWTBot Reporter: Marko Tomljenovic <marko.tomljenovic>
Component: EclipseBotAssignee: Project Inbox <swtbot-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: mariot.chauvin
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Marko Tomljenovic CLA 2011-05-02 09:54:35 EDT
Build Identifier: 

When writing a text test test I found out that getTextForLine() on the editor does not consider folding of the editor.
Either the folding must be considered or a hinat must be added to the javadoc pointing that out.

Reproducible: Always
Comment 1 Mariot Chauvin CLA 2011-09-21 09:49:13 EDT
AFAIK folding do not modify the line number in eclipse editor, so 
I just added a note on the javadoc.

fixed with commit 3cf0c2f5545bdab4d69cb523482d018b0fb30030.