Page 1 of 1

TM1 Rule Formatter for TextPad add in

Posted: Wed Aug 15, 2012 2:19 am
by Ricky Marwan
Hi All,

Made this rule formatter as TextPad add in.

you may find TextPad here http://www.textpad.com

From:
From Rule
From Rule
from rule.jpg (53.68 KiB) Viewed 8334 times
To:
To Rule
To Rule
to rule.jpg (63.47 KiB) Viewed 8334 times
How to add to textpad:
Unpack to any folder.
In TextPad go to Configure > Preferences > Tools > Add

The attachment file contains TM1 Rule Formatter, Syntax Coloring and Clip Libraries.
For syntax coloring and clip libraries unpack to TextPad System and Samples folder.
TM1RuleFormatter.rar
TM1 Rule Formatter
(32.77 KiB) Downloaded 640 times
Note:
For standard rule writing this works fine.

Requirements:
.Net Framework v4

Re: TM1 Rule Formatter for TextPad add in

Posted: Mon Oct 08, 2012 4:59 pm
by nedcpatm1
Hi Ricky,

Thanks for sharing add-in and files.

The formatting works nice; however, I cannot seem to color code TM1 syntax.

Any suggestions what I am missing (I have already unpacked syntax coloring and clip libraries to TextPad System and Samples folder)?

Ned

Re: TM1 Rule Formatter for TextPad add in

Posted: Tue Oct 09, 2012 12:49 am
by Ricky Marwan
Hi Ned,

To Add Syntax Coloring:

- Go to TextPad Configure menu, Configure > New Document Class
- Name it Rule, Next
- Class members *.rux, Next
- Enable Syntax Highlighting and Select rux.syn, Finish

Repeat for TI syntax

You can change Tab spacing, indent size, Color for specific keyword in Configure > Preferences menu.

Re: TM1 Rule Formatter for TextPad add in

Posted: Tue Oct 09, 2012 4:46 am
by krishnadixit
Hi Ricky,

I just checked it, nice one.
Hey I also have made similar add-in for Editplus, its here http://www.tm1forum.com/viewtopic.php?f=21&t=8056

-Krishna

Re: TM1 Rule Formatter for TextPad add in

Posted: Thu Oct 11, 2012 1:08 am
by nedcpatm1
Hi Ricky,

It worked. Thanks