Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344456 - SWTBotEditor.getTextForLine()
Summary: SWTBotEditor.getTextForLine()
Status: RESOLVED FIXED
Alias: None
Product: SWTBot
Classification: Technology
Component: EclipseBot (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 09:54 EDT by Marko Tomljenovic CLA
Modified: 2011-09-21 09:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.