WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
140281
Web Inspector: Vertically center selected line of the content view while resizing the Inspector
https://bugs.webkit.org/show_bug.cgi?id=140281
Summary
Web Inspector: Vertically center selected line of the content view while resi...
Nikita Vasilyev
Reported
2015-01-08 19:48:57 PST
Created
attachment 244318
[details]
Animated GIF See the attached animated GIF. The expected behavior would be to keep the selected line in the middle of the content view.
Attachments
Animated GIF
(1.04 MB, image/gif)
2015-01-08 19:48 PST
,
Nikita Vasilyev
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-01-08 19:49:10 PST
<
rdar://problem/19422419
>
Timothy Hatcher
Comment 2
2015-01-08 19:52:46 PST
Agreed. However, after jumping to a line we don't remember that line as being selected, other than the sidebar. The user is free to scroll and click around more. This should just be about keeping the caret centered/visible. I think jumping to a line moves the text caret, if not, we can do that.
Nikita Vasilyev
Comment 3
2015-07-30 19:03:46 PDT
***
Bug 147479
has been marked as a duplicate of this bug. ***
Nikita Vasilyev
Comment 4
2015-07-30 19:27:58 PDT
I would expect CodeMirror to handle this by default. I just tested CodeMirror 5.5.0 and it has the same problem:
http://jsbin.com/vodiyu
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug