Commit Graph

8 Commits

Author SHA1 Message Date
Girish Sharma
2afad76ee0 Bug 717369 - Autocomplete CSS properties and values in the Style Editor - Part 2 - Source editor tests, r=anton 2014-01-28 20:40:40 +05:30
Anton Kovalyov
95a84f6708 Bug 734439 - Add code folding support to the source editor. r=msucan r=benvie 2014-01-15 16:23:32 -08:00
Anton Kovalyov
152f8d8560 Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-19 15:53:13 -08:00
Anton Kovalyov
b489d46929 Bug 912260 - Make Scratchpad use CodeMirror. r=robcee r=msucan 2013-09-20 11:34:10 -07:00
Mihai Sucan
70512efba4 Bug 725392 - Source Editor: add a method to convert mouse coordinates to character offsets, r=msucan 2012-08-02 22:30:46 +03:00
Ehsan Akhgari
797430c93f Bug 769881 - copyStringToClipboard Optional parameters should go at the end, also this will make it backward compatible for version bumped extensions; r=roc 2012-07-01 14:18:23 -04:00
Ehsan Akhgari
f4bd388765 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Mihai Sucan
8463acf874 Bug 702331 - Update Orion from upstream; r=rcampbell 2011-12-10 19:03:57 +02:00