Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 464602 - [Console] Console auto scrolls only after 2nd input character
Summary: [Console] Console auto scrolls only after 2nd input character
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.5 M7   Edit
Assignee: Sarika Sinha CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-14 09:29 EDT by Sarika Sinha CLA
Modified: 2015-04-27 00:11 EDT (History)
1 user (show)

See Also:
daniel_megert: review+


Attachments
Patch to update the caret location for 1st input character (2.13 KB, patch)
2015-04-15 05:17 EDT, Sarika Sinha CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sarika Sinha CLA 2015-04-14 09:29:41 EDT
Taking the bug out of Bug 457969
Comment 1 Dani Megert CLA 2015-04-14 10:33:28 EDT
The fix should not affect the (auto) scroll state, but just make sure we reveal already on first input.
Comment 2 Sarika Sinha CLA 2015-04-15 05:17:06 EDT
Created attachment 252403 [details]
Patch to update the caret location for 1st input character

If user has scrolled up the console, for the first input character, event's start point comes as read only partition and hence there was no update in the caret location. This patch tries to update the caret location after the document has been replaced.
Comment 4 Sarika Sinha CLA 2015-04-27 00:11:46 EDT
Verified using
Eclipse SDK

Version: Mars (4.5)
Build id: I20150426-2000