GCLI should have a jump-to-scratchpad feature

RESOLVED FIXED in Firefox 12

Status

()

Firefox
Developer Tools: Console
P2
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: jwalker, Assigned: jwalker)

Tracking

unspecified
Firefox 12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

GCLI needs a keyboard shortcut to take the current contents of the command line and transfer it to a new scratchpad. (assuming we're editing javascript)

» { window.addE<CTRL+ENTER>

Up pops a new scratchpad containing 'window.addE' with the cursor in the right place, just ready for a hardcore JS session.
Assignee: nobody → jwalker
Status: NEW → ASSIGNED
Blocks: 689605
No longer blocks: 659052
Blocks: 711051
No longer blocks: 689605
Created attachment 587277 [details] [diff] [review]
upload 1
Attachment #587277 - Flags: review?(dcamp)
Attachment #587277 - Flags: review?(dao)
Comment on attachment 587277 [details] [diff] [review]
upload 1

>+.gcli-in-scratchlink {
>+  float: right;
>+  font-size: 85%;
>+  color: #888;
>+  padding-right: 10px;
>+}

Is this always using left-to-right layout even in right-to-left locales?
(In reply to Dão Gottwald [:dao] from comment #2)
> Comment on attachment 587277 [details] [diff] [review]
> upload 1
> 
> >+.gcli-in-scratchlink {
> >+  float: right;
> >+  font-size: 85%;
> >+  color: #888;
> >+  padding-right: 10px;
> >+}
> 
> Is this always using left-to-right layout even in right-to-left locales?

It is. And it should be.

Updated

6 years ago
Attachment #587277 - Flags: review?(dao) → review+
Bug triage, filter on PEGASUS.
Target Milestone: --- → Firefox 12
Bug triage, filter on PEGASUS.
Priority: -- → P2
Thanks for the r+ Dao.
Created attachment 587838 [details] [diff] [review]
upload 2


CSS unchanged.
This just adds unit tests.
Attachment #587277 - Attachment is obsolete: true
Attachment #587277 - Flags: review?(dcamp)
Attachment #587838 - Flags: review?(dcamp)
Created attachment 587849 [details] [diff] [review]
upload 3

Adding in missing files.
Attachment #587838 - Attachment is obsolete: true
Attachment #587838 - Flags: review?(dcamp)
Attachment #587849 - Flags: review?(dcamp)

Updated

6 years ago
Attachment #587849 - Flags: review?(dcamp) → review+
https://tbpl.mozilla.org/?tree=Try&rev=b305229cfd64
https://hg.mozilla.org/mozilla-central/rev/85c42ab04ac3
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
No longer blocks: 711051
You need to log in before you can comment on or make changes to this bug.