Closed
Bug 723459
Opened 12 years ago
Closed 12 years ago
Add an API to SourceEditor to retrieve the character(s) used for indentation
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: cedricv, Assigned: cedricv)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [sourceeditor])
Attachments
(1 file)
2.60 KB,
patch
|
msucan
:
review+
|
Details | Diff | Splinter Review |
eg. getIndentationString() => returns "\t", " ", " " or whatever the user or the editor is set to use for indentation. Useful for generation of text inside an editor.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #593787 -
Flags: review?(mihai.sucan)
Comment 2•12 years ago
|
||
Comment on attachment 593787 [details] [diff] [review] patch v1 Review of attachment 593787 [details] [diff] [review]: ----------------------------------------------------------------- Patch looks good. Thanks!
Attachment #593787 -
Flags: review?(mihai.sucan) → review+
Updated•12 years ago
|
Whiteboard: [sourceeditor]
Version: unspecified → Trunk
Assignee | ||
Updated•12 years ago
|
Whiteboard: [sourceeditor] → [sourceeditor][land-in-fx-team]
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/5f7811f0542f
Whiteboard: [sourceeditor][land-in-fx-team] → [sourceeditor][fixed-in-fx-team]
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5f7811f0542f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [sourceeditor][fixed-in-fx-team] → [sourceeditor]
Target Milestone: --- → Firefox 13
Comment 5•12 years ago
|
||
Please document the new getIndentationString() method added in Firefox 13. Thank you!
Keywords: dev-doc-needed
Comment 6•12 years ago
|
||
Already documented but now labeled as new in Firefox 13. https://developer.mozilla.org/en/JavaScript_code_modules/source-editor.jsm#getIndentationString%28%29 Listed on Firefox 13 for developers.
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•