Blog

Word Wrap in ColdFusion Builder

July 14, 2009 · 7 Comment s

A number of people have commented on the lack of word or line wrapping in ColdFusion. I whined to Adam Lehman about it, and he set me straight.

You can find it in the preferences:

Preferences -> HTML -> Editors

Under Editors there is a toggle button for General/Advanced. Click "Advanced"

Option reads "Enable Word Wrap" It will require a restart of ColdFusion Builder.

 

We're talking about perhaps seeing if we can't make this more obvious.

Tags: ColdFusion

7 response s so far ↓

  • 1 Steven Erat // Jul 14, 2009 at 12:00 PM

    Thanks Terry. My fingers are starting to unwrap from my death grip on Homesite+ 5.5.
  • 2 Sam Farmer // Jul 14, 2009 at 3:36 PM

    Thanks Terry.

    The word wrap looks and works really well. You might even like it! ;)
  • 3 Matt // Jul 14, 2009 at 3:40 PM

    Thanks for this, I was looking as well. Have I missed code folding anywhere? When I open CFC's I liked how CFEclipse collapsed all of them by default
  • 4 Stodgy // Jul 14, 2009 at 4:32 PM

    How is this not a simple toggle button on a toolbar somewhere? Amazing.
  • 5 Sam // Jul 21, 2009 at 9:28 PM

    Yes, please give us the option to initially fold methods in CFC's. Also, it would be nice to have the option to un-select code we don't want folded by default like loops, conditionals etc. It can get very annoying when every little snipit wants to fold up in your functions.
  • 6 Adam Cameron // Jul 28, 2009 at 6:13 AM

    Interesting. Making that change makes absolutely no difference for me (in either *.htm? or *cf? files).

    I'm running the stand-alone version, on Windows Vista Home Premium.

    One thing that leapt to mind when you said Adobe were looking at putting the option somewhere more obvious was "well... yes, definitely. Why would one expect a setting under the HTML options have any impact of CF templates anyhow?" I could understand if it switched line wrap on for HTM/HTML files, but that option shouldn't impact CFM/CFC files at all, should it? If it's a global option for all file types, it should be under Prefs > General > Editors, shouldn't it?

    In reality, though, this option should be on a toolbar somewhere on the main edit screen, I think. And it should be toggle-able without needing to restart the workspace.

    Cheers for the tip though. Any thoughts as to why it dun't work for me?

    --
    Adam
  • 7 Adam Cameron // Jul 28, 2009 at 6:15 AM

    Just an observation: your comments - when displayed - do not preserve any formatting, like the para breaks I put in my previous comment. Reduces readability somewhat.

    --
    Adam

Leave a Comment