How to disable word-wrap in Xcode 4 editor?

EditorWord WrapXcode4

Editor Problem Overview


I can't find how to disable word-wrap in Xcode 4 editor. How can I do it?

Editor Solutions


Solution 1 - Editor

Go to Xcode Preferences -> Text Editing -> Indentation and deselect Line wrapping.

Solution 2 - Editor

David Hancock has it right (Xcode Preferences -> Text Editing -> Indentation and deselect Line wrapping), but just to add on -- even after reading that, I had trouble finding the option. I see now that Editing and Indentation are at the top of the box, but they are only written in clickable text (at least in Xcode 5)... I was expecting more of a conventional tab UI and had skipped right over them the first couple of times I looked.

enter image description here

Just a heads-up for anyone like me who might have accidentally skipped over them too...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioneonilView Question on Stackoverflow
Solution 1 - EditorDavid HancockView Answer on Stackoverflow
Solution 2 - EditorMattView Answer on Stackoverflow