Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Autotext positioning
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mwalshe
New Member

United Kingdom
9 Posts

Posted - Oct 21 2004 :  04:50:33 AM  Show Profile
Would it be possible to specify in a code template definition that the inserted text should start at the begining of the line, not at the current cursor position?

I'd like to use code templates to insert various headers, e.g. a function header, and use %0 to fill in the say the function name. Presently, if I highlight a function name in my code, a code template is inserted at the selection point, where in fact I want it at the start of the line.

What I'd like to do is end up something like the text below using a code template by simply highlighting the function name.

//----------------------------------------------------------
//
// Function()
//
void CClass::Funtion(int nValue)
{
}

support
Whole Tomato Software

5566 Posts

Posted - Oct 21 2004 :  1:47:49 PM  Show Profile
Workaround is to copy the function name, open a new line, paste and invoke the code template.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000