Closed
Bug 725038
Opened 13 years ago
Closed 13 years ago
No visual indication that final line of scratchpad is selected
Categories
(DevTools Graveyard :: Scratchpad, defect)
DevTools Graveyard
Scratchpad
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdm, Unassigned)
Details
(Whiteboard: [sourceeeditor][orion])
Attachments
(1 file)
210.74 KB,
image/jpeg
|
Details |
STR:
1. add some lines to scratchpad
2. use keyboard to select multiple lines
3. try to select past the penultimate line
Expected:
The final line is highlighted
Actual:
The final line is not highlighted, but the selection still responds to keyboard events
Updated•13 years ago
|
Whiteboard: [sourceeeditor][orion]
Comment 1•13 years ago
|
||
I think this is a cross-platform problem. I can reproduce it in Linux and Windows.
Usually, selection should stop at a point beyond which the caret hasn't traversed, but I might be wrong. If this is a bug to fix in Linux and Windows, I could take it up.
Comment 2•13 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #0)
> STR:
> 1. add some lines to scratchpad
> 2. use keyboard to select multiple lines
> 3. try to select past the penultimate line
>
> Expected:
> The final line is highlighted
>
> Actual:
> The final line is not highlighted, but the selection still responds to
> keyboard events
This is working "as designed", but it's a bit unexpected, indeed.
If you do Shift-Down you can't move the cursor to some offset that doesn't exist on the next line. This needs to be special-cased in Orion's upstream code to go to the end of the line when it's the last line. Similar for Shift-Up.
Reported the bug upstream:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=372898
(In reply to Pranav Ravichandran [:pranavrc] from comment #1)
> Created attachment 600878 [details]
> Scratchpad selection over the final line
>
> I think this is a cross-platform problem. I can reproduce it in Linux and
> Windows.
>
> Usually, selection should stop at a point beyond which the caret hasn't
> traversed, but I might be wrong. If this is a bug to fix in Linux and
> Windows, I could take it up.
Thanks Pranav! This is not directly a source editor bug. This is an Orion bug. If you want to fix this, please do it upstream. See http://wiki.eclipse.org/Orion for how to get started.
OS: Mac OS X → All
Hardware: x86 → All
Comment 3•13 years ago
|
||
Orion upstream has fixed the bug. That fix will land in Firefox with the next Orion update we will do.
Comment 4•13 years ago
|
||
fixed by upstream changes. Closing.
Filter on BLACKEAGLE?!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•