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
 New Autotext special string
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jslapointe
Junior Member

Canada
15 Posts

Posted - Jan 29 2004 :  11:57:54 AM  Show Profile
It would be great to have a special string for autotext and templates:
%LINE_NO% that would display the current line Number of the cursor.
In fact, the best would be to be able to customize the list of special strings...

Would it be appreciated by others?

JS

support
Whole Tomato Software

5566 Posts

Posted - Jan 29 2004 :  2:19:37 PM  Show Profile
Our code to expand Autotext and Code Templates looks for special strings and expands them as we have instructed. The behavior is similar to a compiler looking for reserved words.

You cannot create your own special strings for us, just as you cannot create reserved words in a compiler (and expect the compiler to do something with them.)

That said, we can consider your LINE_NO request.

We have grand plans to revamp our language for Autotext and Code Templates. Sometime this year.

Whole Tomato Software, Inc.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jan 29 2004 :  8:28:12 PM  Show Profile
Not sure what you wanted the LINE_NO for, but there is the ANSI preprocessor macro __LINE__. Perhaps you could find a way to use that?

Just a thought.

Joe Pizzi
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