NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[fixed] 5.2 and Optimal Fill and Keep Trailing Blanks
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
If you enable Optimal Fill it doesn't do anything in 5.2. Works perfectly throughout the 5.0 series.

If you uncheck Keep Trailing Blanks, the trailing blanks are still kept.


Last edited by rudder on Tue Oct 23, 2007 1:57 pm; edited 1 time in total
View user's profileFind all posts by rudderSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
thanks for the report.
problems are fixed in v5.2 build 5210

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
FYI, it works somewhat differently than in versions pre-5.2. In particular, it will not remove trailing blanks and will not change tabs to fill indentation optimally, until you save the file. It effectively fixes the problem with unexpected modifications that might happen if you just move cursor through the file without editing.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
Hi dmitri,

This is an AMAZING fix. I just tested it and indeed it works as you describe.

I think this is a very slick improvement and makes working with files much easier and less "confusing" (its easy to get confused when optimal fill and removing trailing spaces works in real time). It also makes cleaning up files easier. I used to hold the down key for 60 seconds so the cursor would pass over a few hundred lines of code.

Thanks for the heads up.
View user's profileFind all posts by rudderSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
rudder wrote:
This is an AMAZING fix.

I fully agree on that one. It annoyed the HELL out of me that just opening a file and browsing through would sometimes modify it, thanks!
View user's profileFind all posts by BlizzSend private messageVisit poster's website
[fixed] 5.2 and Optimal Fill and Keep Trailing Blanks
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic