Re: [OS-JIRA] Created: (WOL-1131) HTML formatter: Preserve line breaks within tags

From: David LeBer (dleber_wode..odeferous.com)
Date: Fri Nov 20 2009 - 10:20:42 EST

  • Next message: Kieran Kelleher: "Re: [OS-JIRA] Created: (WOL-1131) HTML formatter: Preserve line breaks within tags"

    On 2009-11-20, at 10:14 AM, David Avendasora wrote:

    > Doesn't this stretch the meaning of "inline" a bit?
    >
    > Personally, if there's that many bindings, I put it in the .wod file. I like my HTML to be readable, and this many bindings, no matter how you format it, messes with the readability, especially when non-WO Devs look at it.
    >
    > I know this is a bit of a personal preference thing, but it's a pet peeve of mine.

    Yeah, one of the reasons I'm not likely to move to Apple's inline format anytime soon. I really like being able to chose inline or .wod style depending on the task at hand.

    However, that doesn't mean that this is not a valid feature request, on that I have no opinion :-)

    >
    > Dave
    >
    > On Nov 20, 2009, at 7:06 AM, Timo Höpfner (JIRA) wrote:
    >
    >> HTML formatter: Preserve line breaks within tags
    >> ------------------------------------------------
    >>
    >> Key: WOL-1131
    >> URL: http://issues.objectstyle.org/jira/browse/WOL-1131
    >> Project: WOProject/WOLips
    >> Issue Type: Improvement
    >> Components: WOLips General
    >> Affects Versions: WOLips 3.5.x
    >> Reporter: Timo Höpfner
    >> Priority: Minor
    >>
    >>
    >> I'm heavily using inline bindings. When there are many bindings, I'm often formatting the tags like:
    >>
    >> <wo:ERXOptGroupPopupButton
    >> list="$poolDefinitions"
    >> item="$poolDefinitionItem"
    >> group="$poolDefinitionItem.definition"
    >> label="$poolDefinitionItem.definition.identifier"
    >> displayString="$poolDefinitionItem.displayName"
    >> noSelectionString="---"
    >> selection="$selectedPool"
    >> />
    >>
    >> Formatting makes that a single line again, so it would be nice, if the formatter had an option to preserve the line breaks within tags.
    >>
    >>
    >> --
    >> This message is automatically generated by JIRA.
    >> -
    >> If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    >> -
    >> For more information on JIRA, see: http://www.atlassian.com/software/jira
    >>
    >>
    >>
    >>
    >
    > David Avendasora
    > Senior Software Engineer
    > K12, Inc.
    >
    > *****
    > WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
    > *****
    > WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
    > *****
    >

    ;david

    --
    David LeBer
    Codeferous Software
    'co-def-er-ous' adj. Literally 'code-bearing'
    site: 	http://codeferous.com
    blog: 	http://davidleber.net
    profile:	http://www.linkedin.com/in/davidleber
    twitter:	http://twitter.com/rebeld
    --
    Toronto Area Cocoa / WebObjects developers group:
    http://tacow.org
    



    This archive was generated by hypermail 2.0.0 : Fri Nov 20 2009 - 10:21:44 EST