Rapid PHP and word wrap

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
mploug
Posts: 11
Joined: Fri Aug 14, 2009 5:08 pm

Rapid PHP and word wrap

Post by mploug »

Hello

I use Rapid PHP 2011 version 11.0.0.126.
I have not thougt about this before but nothing happens when I have toggled
Word Wrap (Options > Word Wrap). I thought that my lines in the Code Editor
would automatically wrap and continue to a new line when they hit the right
margin. But the lines just continues across the right margin.

Is it a bug or have I just misunderstood?

Kind regards,
Martin
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Rapid PHP and word wrap

Post by Gatis »

Him

The line is not wrapped at the right margin (the grey line), but at the right margin of the code editor area.
If this does not happen for you, can you share or send a screen-shot?

Kind regards,
Gatis Avots
Kind regards,
Gatis Avots
mploug
Posts: 11
Joined: Fri Aug 14, 2009 5:08 pm

Re: Rapid PHP and word wrap

Post by mploug »

Ok, but then I don't see the point in the grey line.
What is the purpose with the grey line?
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Rapid PHP and word wrap

Post by chrisjlocke »

The grey line is for visual representation only.
mploug
Posts: 11
Joined: Fri Aug 14, 2009 5:08 pm

Re: Rapid PHP and word wrap

Post by mploug »

Ok thank you.
I think I will just hide it ;-)
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Rapid PHP and word wrap

Post by chrisjlocke »

Its useful, as there is a recommended line length.
http://framework.zend.com/manual/en/cod ... tting.html

I also recommend reading this blog post:
http://paul-m-jones.com/archives/276
mploug
Posts: 11
Joined: Fri Aug 14, 2009 5:08 pm

Re: Rapid PHP and word wrap

Post by mploug »

Ok thank you.
I see the point now. :wink:
Post Reply