Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Outline move bug when no linefeed in end of file

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
TorbenKoch Posted - May 16 2007 : 09:59:41 AM
When you have a file with a linefeed after the last } like this:

uint32 Settings::getUInt32( const StringRef& sectionName, const StringRef& keyName, uint32 defaultValue /*= 0*/ )
{
	return impl->accessor->getUInt32(sectionName, keyName, defaultValue);
}

void Settings::setUInt32( const StringRef& sectionName, const StringRef& keyName, uint32 value )
{
	impl->accessor->setUInt32(sectionName, keyName, value);
}


Remember: no linefeed after the last }

If you then use the outline view to move the last method in front of the first, you get this result:


void Settings::setUInt32( const StringRef& sectionName, const StringRef& keyName, uint32 value )
{
	impl->accessor->setUInt32(sectionName, keyName, value);
uint32 Settings::getUInt32( const StringRef& sectionName, const StringRef& keyName, uint32 defaultValue /*= 0*/ )
{
	return impl->accessor->getUInt32(sectionName, keyName, defaultValue);
}

}

And again there is no linefeed after the last }.

If you put in a linefeed there is no problem.
3   L A T E S T    R E P L I E S    (Newest First)
support Posted - May 31 2007 : 12:11:11 AM
fixed in build 1557
feline Posted - May 17 2007 : 1:24:50 PM
case=6209

This should be fixed in the next build.
rhummer Posted - May 16 2007 : 11:02:44 AM
I see the same issue too, using VAX 1555.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000