Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Line Wrapping setting doesn't work

I'm trying to disable line wrap in Xcode 4.3.2 (4E2002), but the setting doesn't seem to work. I seriously HATE line wrapping and it makes me super-unproductive. I've always had it turned off before, but since the latest XCode-update, it is enabled regardless of setting.

Is this an Xcode bug?

This is my settings dialog: enter image description here

like image 607
Accatyyc Avatar asked Apr 21 '12 16:04

Accatyyc


People also ask

How do you wrap text in UILabel?

If you set numberOfLines to 0 (and the label to word wrap), the label will automatically wrap and use as many of lines as needed. If you're editing a UILabel in IB, you can enter multiple lines of text by pressing option + return to get a line break - return alone will finish editing.

What is line wrap mode?

Modes such as Long Lines wrap lines on word boundaries as you type, by inserting temporary line-ending characters. These are removed when you save the buffer to a file or copy its text for yanking elsewhere, so they are only for display purposes.


1 Answers

This comes by some files you have set Wrap line in Show the File inspector.

Please choose a file. View -> Utilities -> Show File inspector then deselect Wrap lines in Text Settings section.

like image 162
MrDuy Avatar answered Nov 11 '22 18:11

MrDuy