Last Comment Bug 706230 - GCLI should have a jump-to-scratchpad feature
: GCLI should have a jump-to-scratchpad feature
Status: RESOLVED FIXED
:
Product: Firefox
Classification: Client Software
Component: Developer Tools: Console (show other bugs)
: unspecified
: All All
: P2 normal (vote)
: Firefox 12
Assigned To: Joe Walker [:jwalker] (needinfo me or ping on irc)
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-29 12:51 PST by Joe Walker [:jwalker] (needinfo me or ping on irc)
Modified: 2012-01-13 10:36 PST (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
upload 1 (8.71 KB, patch)
2012-01-10 05:11 PST, Joe Walker [:jwalker] (needinfo me or ping on irc)
dao+bmo: review+
Details | Diff | Splinter Review
upload 2 (24.88 KB, patch)
2012-01-11 14:38 PST, Joe Walker [:jwalker] (needinfo me or ping on irc)
no flags Details | Diff | Splinter Review
upload 3 (28.45 KB, patch)
2012-01-11 15:05 PST, Joe Walker [:jwalker] (needinfo me or ping on irc)
dcamp: review+
Details | Diff | Splinter Review

Description Joe Walker [:jwalker] (needinfo me or ping on irc) 2011-11-29 12:51:37 PST
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.
Comment 1 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-10 05:11:04 PST
Created attachment 587277 [details] [diff] [review]
upload 1
Comment 2 Dão Gottwald [:dao] 2012-01-10 08:23:14 PST
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?
Comment 3 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-10 15:04:39 PST
(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.
Comment 4 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-11 10:16:52 PST
Bug triage, filter on PEGASUS.
Comment 5 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-11 10:18:28 PST
Bug triage, filter on PEGASUS.
Comment 6 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-11 10:30:00 PST
Thanks for the r+ Dao.
Comment 7 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-11 14:38:40 PST
Created attachment 587838 [details] [diff] [review]
upload 2


CSS unchanged.
This just adds unit tests.
Comment 8 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-11 15:05:56 PST
Created attachment 587849 [details] [diff] [review]
upload 3

Adding in missing files.
Comment 9 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-01-11 15:19:04 PST
https://tbpl.mozilla.org/?tree=Try&rev=b305229cfd64
Comment 10 Tim Taubert [:ttaubert] 2012-01-13 02:53:07 PST
https://hg.mozilla.org/mozilla-central/rev/85c42ab04ac3

Note You need to log in before you can comment on or make changes to this bug.