XY Script: Color Syntax for EditPadPro
Meh.. just discovered I accidentally omitted Rename from the clipbook (and also the reasons why I quit using Google's code hosting for things like this).
Anyhow the TCL has been updated, and both files have been moved into their repository so the update links are:
The TextPad syntax highlighter definitions is here:
http://xyplorer.googlecode.com/svn/trun ... plorer.syn
The Textpad clipbook is here:
http://xyplorer.googlecode.com/svn/trun ... plorer.tcl
Anyhow the TCL has been updated, and both files have been moved into their repository so the update links are:
The TextPad syntax highlighter definitions is here:
http://xyplorer.googlecode.com/svn/trun ... plorer.syn
The Textpad clipbook is here:
http://xyplorer.googlecode.com/svn/trun ... plorer.tcl
Last edited by TheQwerty on 10 Mar 2008 16:05, edited 2 times in total.
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I can't download them this time.TheQwerty wrote:Meh.. just discovered I accidentally omitted Rename from the clipbook (and also the reasons why I quit using Google's code hosting for things like this).
Anyhow the TCL has been updated, and both files have been moved into their repository so they are here instead:
http://code.google.com/p/xyplorer/source/browse/trunk
Again, the .syn is the TextPad syntax highlighter definitions.
And the .tcl is the TextPad clipbook.
FAQ | XY News RSS | XY X
Hmmm.. try these then:admin wrote:I can't download them this time.TheQwerty wrote:Meh.. just discovered I accidentally omitted Rename from the clipbook (and also the reasons why I quit using Google's code hosting for things like this).
Anyhow the TCL has been updated, and both files have been moved into their repository so they are here instead:
http://code.google.com/p/xyplorer/source/browse/trunk
Again, the .syn is the TextPad syntax highlighter definitions.
And the .tcl is the TextPad clipbook.How to do it?
The TextPad syntax highlighter definitions is here:
http://xyplorer.googlecode.com/svn/trun ... plorer.syn
The Textpad clipbook is here:
http://xyplorer.googlecode.com/svn/trun ... plorer.tcl
Last edited by TheQwerty on 10 Mar 2008 16:05, edited 1 time in total.
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Works, thanks!TheQwerty wrote:Hmmm.. try these then:admin wrote:I can't download them this time.TheQwerty wrote:Meh.. just discovered I accidentally omitted Rename from the clipbook (and also the reasons why I quit using Google's code hosting for things like this).
Anyhow the TCL has been updated, and both files have been moved into their repository so they are here instead:
http://code.google.com/p/xyplorer/source/browse/trunk
Again, the .syn is the TextPad syntax highlighter definitions.
And the .tcl is the TextPad clipbook.How to do it?
TextPad clipbook:
http://xyplorer.googlecode.com/svn/trunk/XYplorer.tcl
and
TextPad syntax highlighter definitions:
http://xyplorer.googlecode.com/svn/trunk/xyplorer.syn
FAQ | XY News RSS | XY X
This is completely off topic and I apologize. But, anytime I hear mention of text editing software I always feel the need to plug notepad++.
If you get a chance to check it out I highly recommend it.
http://notepad-plus.sourceforge.net/uk/site.htm
Since it seems like a fair amount of the posters here are familiar with EditPad I may have to check it out to see what it is all about
If you get a chance to check it out I highly recommend it.
http://notepad-plus.sourceforge.net/uk/site.htm
Since it seems like a fair amount of the posters here are familiar with EditPad I may have to check it out to see what it is all about
Well, I was just messing around with the scripting using my text editor of choice (PSPad) and decided to make up a syntax highlighter file and also a clip definition file. So, if there are any other PSPad users out there you can go grab them here:
http://www.box.net/shared/ythdry3w44
*Sorry, but this is the first time I've made either a syntax file or a clip definition file so if they're not very good I apologize.
http://www.box.net/shared/ythdry3w44
*Sorry, but this is the first time I've made either a syntax file or a clip definition file so if they're not very good I apologize.
Justin
Windows 7 Professional
Windows 7 Professional
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Wow, looks like a lot of good work!JustinF wrote:Well, I was just messing around with the scripting using my text editor of choice (PSPad) and decided to make up a syntax highlighter file and also a clip definition file. So, if there are any other PSPad users out there you can go grab them here:
http://www.box.net/shared/ythdry3w44
*Sorry, but this is the first time I've made either a syntax file or a clip definition file so if they're not very good I apologize.
May I put them to the support page with your name attached?
FAQ | XY News RSS | XY X
Of course! I would feel honored.admin wrote:Wow, looks like a lot of good work!JustinF wrote:Well, I was just messing around with the scripting using my text editor of choice (PSPad) and decided to make up a syntax highlighter file and also a clip definition file. So, if there are any other PSPad users out there you can go grab them here:
http://www.box.net/shared/ythdry3w44
*Sorry, but this is the first time I've made either a syntax file or a clip definition file so if they're not very good I apologize.![]()
May I put them to the support page with your name attached?
The descriptions in the definition file were taken pretty much straight from the XYwiki...I hope that's okay???
Justin
Windows 7 Professional
Windows 7 Professional
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yep, I think so. Ask jacky...JustinF wrote:Of course! I would feel honored.admin wrote:Wow, looks like a lot of good work!JustinF wrote:Well, I was just messing around with the scripting using my text editor of choice (PSPad) and decided to make up a syntax highlighter file and also a clip definition file. So, if there are any other PSPad users out there you can go grab them here:
http://www.box.net/shared/ythdry3w44
*Sorry, but this is the first time I've made either a syntax file or a clip definition file so if they're not very good I apologize.![]()
May I put them to the support page with your name attached?
The descriptions in the definition file were taken pretty much straight from the XYwiki...I hope that's okay???
FAQ | XY News RSS | XY X
No it certainly is not! Is there's one thing the XYwiki has not been made for, it's to help people and hopefully get them to learn more about XY. If you guys are going there to learn about your favorite application then we have all failed!admin wrote:Yep, I think so. Ask jacky...JustinF wrote:The descriptions in the definition file were taken pretty much straight from the XYwiki...I hope that's okay???
(Just to be clear, cause you never know: of course it's okay. I mean the wiki is here to hopefully help people make the most of XY, and if you want to use PSPad to do that while obviously EditPadPro is a better choice, well, who am I to stop you?
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Having no idea of PSPad, what is a "clip definition file"?JustinF wrote:Well, I was just messing around with the scripting using my text editor of choice (PSPad) and decided to make up a syntax highlighter file and also a clip definition file. So, if there are any other PSPad users out there you can go grab them here:
http://www.box.net/shared/ythdry3w44
FAQ | XY News RSS | XY X
I used it for "code completion" for the various methods (addstr, substr, etc.). CTRL+Space will bring up a list of the XYScript methods. Choosing one from the pop-up window will also stub in the variables. But I _think_ you can also use it to insert if-else statements and such, although I'm not for sure on that one.admin wrote:Having no idea of PSPad, what is a "clip definition file"?JustinF wrote:Well, I was just messing around with the scripting using my text editor of choice (PSPad) and decided to make up a syntax highlighter file and also a clip definition file. So, if there are any other PSPad users out there you can go grab them here:
http://www.box.net/shared/ythdry3w44
Justin
Windows 7 Professional
Windows 7 Professional
Since my editor of choice is UltraEdit, i played around with the (syntax highlighting) wordfile and came up with this first version:
How to add this wordfile to UltraEdit
Keep in mind: This first version is far from perfect yet. I still need to optimize things like Indents, Braces and functions strings.
Updates will follow.
Code: Select all
/L20"XYplorer Script" Nocase Line Comment = // Escape Char = \ String Chars = "' File Extensions = XYS
/Delimiters = ~!^&*()-+=|\/{}[]:;"'` , .
/Function String = "%\"*"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"Control Structures" STYLE_KEYWORD
;
/C2"Built-in Variables" STYLE_VARIABLE
<base> <clipboard> <curbase> <curext> <curfolder> <curitem> <curname> <curpath> <curpath_s> <curver> <focitem> <items> <item1> <item2> <srcbase> <srcext> <srctitle> <srcver> <xyexe> <xydata> <xypath>
** <m <d <srcm
/C3"Environment Variables" STYLE_VARIABLE
%allusersprofile% %appdata% %commonprogramfiles% %computer% %desktop% %desktopreal% %net% %personal% %personalreal% %programfiles% %systemdrive% %systemroot% %temp% %tmp% %userprofile% %windir% %winsysdir%
/C4"Variables" STYLE_VARIABLE
** $
/C5"Operators" STYLE_OPERATOR
/C6"Built-in Functions" STYLE_FUNCTION
addstr
backupto box br
copytext copyto
filter focus
goto
highlight
incr input inputfile inputfolder
load
moveto
msg
new
open openwith
regexreplace rename replace
sel selfilter seltab set setting settingp sortby status step strlen strpos sub substr swapnames
text try
unset unstep
/C7"Numeric Functions" STYLE_FUNCTION
** #
/C8"not used"
Keep in mind: This first version is far from perfect yet. I still need to optimize things like Indents, Braces and functions strings.
Updates will follow.
XYplorer Beta Club