Home Download Buy Blog Forum Support

How to show a very long line without scrolling horizontally

How to show a very long line without scrolling horizontally

Postby naska on Wed Jan 02, 2013 5:43 pm

Hello everybody!

I'm having a trouble i really don't know how to fix.
I'm building a website and i'm having very long PHP lines. Being them very long, i am forced to scrll horizontally to view them.. here is an example:
Image
As you can see, the lines 20 and 21 are not completely visible, being them too long. So, to see them entirely i need to scroll right, which is quite annoying.
I don't know why, but in some others PHP files i created (this looks quite random...), there is a some kind of functionality activated that allows me to see all the line without scrolling. Here is an example:
Image
As you can see, now the line 20 is displayed in two lines! So i can see the whole line without scrolling horizontally. (N.B.: there is no new line, because both lines belongs to line 20).
Can anybody tell me how i can activate this functionality to all files?

Thanks a lot :)
naska
 
Posts: 2
Joined: Wed Jan 02, 2013 5:25 pm

Re: How to show a very long line without scrolling horizontally

Postby iamntz on Wed Jan 02, 2013 5:50 pm

ctrl+shift+p (or cmd+shift+p): ww (word wrap) toggle.
iamntz
 
Posts: 818
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: How to show a very long line without scrolling horizontally

Postby naska on Wed Jan 02, 2013 6:10 pm

iamntz wrote:ctrl+shift+p (or cmd+shift+p): ww (word wrap) toggle.


AMAZING! Thanks a lot! :D
naska
 
Posts: 2
Joined: Wed Jan 02, 2013 5:25 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 12 guests