Skip navigation
Currently Being Moderated

HTML formatter in cfml-files

Feb 24, 2012 4:42 AM

Tags: #tags #cfbuilder #formatter

Hi everybody,


How is HTML formatting managed in cfml-files. Currently on formatting <h*>-Tags got a newline and I would prefer the tag to stay on one line without break.



  • Currently Being Moderated
    Feb 24, 2012 6:00 AM   in reply to r.yogarajah

    Heading tags are block level elements and therefore always take up the full width of their containing element unless styled otherwise. Doesn't matter if you're document is .html or .cfm.


    Hope I understood your question correctly.

    Mark as:
  • Currently Being Moderated
    Mar 2, 2012 10:32 PM   in reply to r.yogarajah

    I also do not get around with that.


    I tried to configure the formatter - no success.


    Any idea would be appreciated ..



    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 3:21 AM   in reply to r.yogarajah

    I'd like to follow up on that


    If I write the following line in CFB2




    and then press <ctrl>-<shift>-F to format the code, I get






    Now I would like to teach CFB2 to keep




    How do I do that ?


    I have been playing around a lot with the Formatters in the Preferences. There it works - but not in real editor life :-(



    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 5:23 AM   in reply to Didi

    As far as I can tell, those formatting options are for the format-as-you-go typing, not the reformatting option.  One might think both facilities would use the same settings, but it seems not.  Which is quite rubbish.  Perhaps I'm just missing something though.




    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points