Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 723459 - Add an API to SourceEditor to retrieve the character(s) used for indentation
: Add an API to SourceEditor to retrieve the character(s) used for indentation
: dev-doc-complete
Product: Firefox
Classification: Client Software
Component: Developer Tools (show other bugs)
: Trunk
: All All
: -- normal (vote)
: Firefox 13
Assigned To: Cedric Vivier [:cedricv]
: (Unavailable until Nov 1) Brian Grinstead [:bgrins]
Depends on:
Blocks: 723651 723460 723820
  Show dependency treegraph
Reported: 2012-02-02 04:00 PST by Cedric Vivier [:cedricv]
Modified: 2012-04-28 14:56 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch v1 (2.60 KB, patch)
2012-02-02 04:18 PST, Cedric Vivier [:cedricv]
mihai.sucan: review+
Details | Diff | Splinter Review

Description Cedric Vivier [:cedricv] 2012-02-02 04:00:43 PST

getIndentationString() => returns "\t", "  ", "     " or whatever the user or the editor is set to use for indentation.

Useful for generation of text inside an editor.
Comment 1 Cedric Vivier [:cedricv] 2012-02-02 04:18:57 PST
Created attachment 593787 [details] [diff] [review]
patch v1
Comment 2 Mihai Sucan [:msucan] 2012-02-02 05:09:22 PST
Comment on attachment 593787 [details] [diff] [review]
patch v1

Review of attachment 593787 [details] [diff] [review]:

Patch looks good. Thanks!
Comment 3 Paul Rouget [:paul] 2012-02-06 22:11:07 PST
Comment 4 Tim Taubert [:ttaubert] 2012-02-07 11:24:41 PST
Comment 5 Mihai Sucan [:msucan] 2012-02-09 12:43:51 PST
Please document the new getIndentationString() method added in Firefox 13. Thank you!
Comment 6 Eric Shepherd [:sheppy] 2012-04-28 14:56:26 PDT
Already documented but now labeled as new in Firefox 13.

Listed on Firefox 13 for developers.

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