Closed
Bug 460573
Opened 16 years ago
Closed 9 years ago
nsIXULRuntime should have a property to indicate the default line break string
Categories
(Toolkit Graveyard :: XULRunner, enhancement)
Toolkit Graveyard
XULRunner
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: laurent, Assigned: laurent)
Details
Attachments
(1 file, 1 obsolete file)
3.62 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
For xpcshell or other javascript scripts, It would be fine if we could have the characters to use to insert a line break in a string, corresponding to the default characters for a line break on the current plateform.
nsIXULRuntime could provide a property which contains this string : nsIXULRuntime.LINEBREAK for example ?
I will propose a patch.
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #343715 -
Flags: review?(benjamin)
Comment 2•16 years ago
|
||
I could have sworn there was already something that did this, but perhaps I'm just misremembering existing per-platform ifdefs.
nsIXULRuntime doesn't really seem like the right place to put this, but I can't really think of a better place offhand.
Comment 3•16 years ago
|
||
Comment on attachment 343715 [details] [diff] [review]
patch v1
Please use lowercase "linebreak" instead of uppercase.
Attachment #343715 -
Flags: review?(benjamin) → review-
Assignee | ||
Comment 4•16 years ago
|
||
I changed the name of the property.
Attachment #343715 -
Attachment is obsolete: true
Attachment #345145 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #345145 -
Flags: review?(benjamin) → review+
Comment 5•9 years ago
|
||
XULRunner has been removed from the Mozilla tree: see https://groups.google.com/forum/#!topic/mozilla.dev.platform/_rFMunG2Bgw for context.
I am closing all the bugs currently in the XULRunner bugzilla component, in preparation for moving this component to the graveyard. If this bug is still valid in a XULRunner-less world, it will need to be moved to a different bugzilla component to be reopened.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•