TextPad - Script Editor Software from Helios

A forum dedicated to George scripting questions
Post Reply
Svengali
Posts: 1557
Joined: 28 Dec 2006, 10:08

TextPad - Script Editor Software from Helios

Post by Svengali »

If you are looking for a half-decent, inexpensive editor for George here is a link to one I've used for years called TextPad (free trial). It's certainly not the most advanced or the best out there but it works for me.
TextPad - TVPaint syntax color coding.jpg
Here, also, is a ZIP file containing the Syntax (.syn) file for TVPaint's George Scripting Language and an old screen grab (TextPad - TVPaint syntax color coding.jpg) showing a sample text-edit-window of a George script and my syntax color-coding with an insert of the Preferences / Document Classes / Scripts color code assignments window.

Note that the Scripts Document Class is a custom class I created by Going to Configure/Preferences window and clicking on Document Classes... you can only create a new Document Class while NO DOCUMENTS ARE OPEN, as it says. Other aspects of the Scripts Document Class can also be configured - like looking for .grg files and having line numbers visible.

IMPORTANT: Where to put the syntax (.syn) file so TextPad can find it? Well, I am using XP and the following path leads to a folder where you should put it with all the other syntax files. If you are using Windows 7, then you will have to figure out the path yourself - look for the Helios/TextPad/7 application subfolder, I think.

C:\Documents and Settings\your username here\Application Data\Helios\TextPad\7

You can use TextPad, itself, to update the syntax file as more commands are added in the future. No guarantees that ALL commands are in this version of the syntax file which I maintain for my personal use ONLY. :D

Sven
Attachments
TextPad SYN (syntaxTVP) file.zip
(453.03 KiB) Downloaded 161 times
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
idragosani
Posts: 987
Joined: 06 May 2008, 00:39
Location: Germantown MD
Contact:

Re: TextPad - Script Editor Software from Helios

Post by idragosani »

I use emacs, it's free :twisted:

I've used TextPad before, it's a decent editor, no question about that.
Brett W. McCoy -- http://www.brettwmccoy.com
TVP Pro 10 : Intel i7 2600 3.4 GHz : 8GB RAM : Ubuntu Studio 14.04 : Cintiq 21UX
Svengali
Posts: 1557
Joined: 28 Dec 2006, 10:08

Re: TextPad - Script Editor Software from Helios

Post by Svengali »

If you have a TVPaint/George syntax file for EMACS why not post it?
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
idragosani
Posts: 987
Joined: 06 May 2008, 00:39
Location: Germantown MD
Contact:

Re: TextPad - Script Editor Software from Helios

Post by idragosani »

I don't have one but I could easily put one together (probably based on C/C++ mode)
Brett W. McCoy -- http://www.brettwmccoy.com
TVP Pro 10 : Intel i7 2600 3.4 GHz : 8GB RAM : Ubuntu Studio 14.04 : Cintiq 21UX
Minimostyle
Posts: 3
Joined: 26 Jul 2013, 18:20

Re: TextPad - Script Editor Software from Helios

Post by Minimostyle »

For those interested
I created a color syntax for notepad + +

then copy / paste this into a text editor and save george.xml

For import in notepad++ go to:

-> Language
-> define your language
-> import

Code: Select all

<NotepadPlus>
    <UserLang name="Script_George" ext="" udlVersion="2.0">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="no" forceLineCommentsAtBOL="no" foldCompact="no" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments" id="0">00// 01 02 03 04</Keywords>
            <Keywords name="Numbers, additional" id="1"></Keywords>
            <Keywords name="Numbers, prefixes" id="2"></Keywords>
            <Keywords name="Numbers, extras with prefixes" id="3"></Keywords>
            <Keywords name="Numbers, suffixes" id="4"></Keywords>
            <Keywords name="Operators1" id="5">= < > * : / + - & | !</Keywords>
            <Keywords name="Operators2" id="6"></Keywords>
            <Keywords name="Folders in code1, open" id="7"></Keywords>
            <Keywords name="Folders in code1, middle" id="8"></Keywords>
            <Keywords name="Folders in code1, close" id="9"></Keywords>
            <Keywords name="Folders in code2, open" id="10"></Keywords>
            <Keywords name="Folders in code2, middle" id="11"></Keywords>
            <Keywords name="Folders in code2, close" id="12"></Keywords>
            <Keywords name="Folders in comment, open" id="13"></Keywords>
            <Keywords name="Folders in comment, middle" id="14"></Keywords>
            <Keywords name="Folders in comment, close" id="15"></Keywords>
            <Keywords name="Keywords1" id="16">IF WHILE END ELSE FOR DO UNTIL FUNCTION LOCAL RETURN #PARAM PARAM #Include print parse abs&#x000D;&#x000A;acos&#x000D;&#x000A;asin&#x000D;&#x000A;atan&#x000D;&#x000A;break&#x000D;&#x000A;char&#x000D;&#x000A;cos&#x000D;&#x000A;cmp&#x000D;&#x000A;cut&#x000D;&#x000A;date&#x000D;&#x000A;do...until&#x000D;&#x000A;exit&#x000D;&#x000A;len&#x000D;&#x000A;for&#x000D;&#x000A;if...else...end&#x000D;&#x000A;max&#x000D;&#x000A;min&#x000D;&#x000A;param&#x000D;&#x000A;parse&#x000D;&#x000A;pause&#x000D;&#x000A;print&#x000D;&#x000A;rnd&#x000D;&#x000A;sin&#x000D;&#x000A;sqr&#x000D;&#x000A;tan&#x000D;&#x000A;time&#x000D;&#x000A;trunc&#x000D;&#x000A;version&#x000D;&#x000A;while&#x000D;&#x000A;concat&#x000D;&#x000A;for...to...end&#x000D;&#x000A;function&#x000D;&#x000A;local&#x000D;&#x000A;return&#x000D;&#x000A;while...end</Keywords>
            <Keywords name="Keywords2" id="17">COS SIN TAN RND</Keywords>
            <Keywords name="Keywords3" id="18">tv_</Keywords>
            <Keywords name="Keywords4" id="19"></Keywords>
            <Keywords name="Keywords5" id="20"></Keywords>
            <Keywords name="Keywords6" id="21"></Keywords>
            <Keywords name="Keywords7" id="22"></Keywords>
            <Keywords name="Keywords8" id="23"></Keywords>
            <Keywords name="Delimiters" id="24">00" 01 02" 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" styleID="1" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="7" nesting="0" />
            <WordsStyle name="LINE COMMENTS" styleID="2" fgColor="D1AE23" bgColor="FFFFFF" fontName="" fontStyle="2" nesting="0" />
            <WordsStyle name="NUMBERS" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS1" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS3" styleID="6" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS4" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS6" styleID="9" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS7" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" styleID="12" fgColor="FF8C55" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" styleID="16" fgColor="00AEAE" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="DELIMITERS2" styleID="17" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" styleID="18" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS4" styleID="19" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" styleID="20" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" styleID="21" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" styleID="22" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" styleID="23" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>
At Work : TvPaint pro 10 64 bit, Os Linux (Open Suse 12.3) 64 bit
At Home : TvPaint pro 10 64 bit, Os Seven 64 bit
Post Reply