Pagat wrote:Since my editor of choice is UltraEdit, i played around with the (syntax highlighting) wordfile and came up with this first version...
XY Script: Color Syntax for EditPadPro
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
FAQ | XY News RSS | XY X
Re: XY Script: Color Syntax for EditPadPro
A lot of new functions were introduced since i posted the first UltraEdit wordfile so here is a updated one:
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
assert
backupto box br
chr compare confirm copytext copyto
delete download
echo eval
filter focus
getinfo getkey goto
highlight
incr input inputfile inputfolder internetflags
load loadsearch
moveto msg
new
open openwith
quote
readurl regexreplace rename replace report run
sel selfilter self seltab set setkey setting settingp sortby status step strlen strpos sub substr swapnames
text timestamp
unset unstep
/C7"Numeric Functions" STYLE_FUNCTION
** #
/C8"not used"
Last edited by Pagat on 19 Oct 2008 19:24, edited 1 time in total.
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XY Script: Color Syntax for EditPadPro
Great, thanks!Pagat wrote:A lot of new functions were introduced since i posted the first UltraEdit wordfile so here is a updated one:...
FAQ | XY News RSS | XY X
Re: XY Script: Color Syntax for EditPadPro
Updated wordfile for UltraEdit:
Code: Select all
/L20"XYplorer Script" Nocase Line Comment = // Block Comment On = /* Block Comment Off = */ 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
assert
backupto box br
call chr compare confirm copytext copyto
delete download
echo end eval
filter focus
getinfo getkey gettoken global goto
highlight html
incr input inputfile inputfolder internetflags
load loadsearch loadtree
md5 moveto msg
new
open openwith
quote
readfile readurl regexreplace rename replace report run
sel self selfilter seltab set setkey setting settingp sortby status step strlen strpos strrepeat sub substr swapnames
text timestamp
unset unstep urldecode urlencode
writefile
/C7"Numeric Functions" STYLE_FUNCTION
** #
/C8"not used"-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XY Script: Color Syntax for EditPadPro
Thanks! Uploaded.Pagat wrote:Updated wordfile for UltraEdit:
FAQ | XY News RSS | XY X
Re: XY Script: Color Syntax for EditPadPro
A few things I might as well mention here...
Don just to point out, I have been updating those TextPad files to keep them somewhat up to date. You can always find the latest versions at:
http://code.google.com/p/xyplorer/sourc ... plorer.tcl
http://code.google.com/p/xyplorer/sourc ... plorer.syn
Anyone wanting to see when changes are made can checkout the source through SVN or use the feeds here:
http://code.google.com/p/xyplorer/feeds
Finally, if anyone wants to join the XYplorer project on Google Code, we could have multiple people contributing to a centralized repository.
Interested parties should shoot me a PM.
Don just to point out, I have been updating those TextPad files to keep them somewhat up to date. You can always find the latest versions at:
http://code.google.com/p/xyplorer/sourc ... plorer.tcl
http://code.google.com/p/xyplorer/sourc ... plorer.syn
Anyone wanting to see when changes are made can checkout the source through SVN or use the feeds here:
http://code.google.com/p/xyplorer/feeds
Finally, if anyone wants to join the XYplorer project on Google Code, we could have multiple people contributing to a centralized repository.
Interested parties should shoot me a PM.
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XY Script: Color Syntax for EditPadPro
Hola! Never heard about this Google Code thing... I won't stop you...TheQwerty wrote:A few things I might as well mention here...
Don just to point out, I have been updating those TextPad files to keep them somewhat up to date. You can always find the latest versions at:
http://code.google.com/p/xyplorer/sourc ... plorer.tcl
http://code.google.com/p/xyplorer/sourc ... plorer.syn
Anyone wanting to see when changes are made can checkout the source through SVN or use the feeds here:
http://code.google.com/p/xyplorer/feeds
Finally, if anyone wants to join the XYplorer project on Google Code, we could have multiple people contributing to a centralized repository.
Interested parties should shoot me a PM.
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: XY Script: Color Syntax for EditPadPro
I would think we could/should put copies of the other existing scripts there as well...so jacky and others can have a possibly better way of keeping track of these scripts...having it there may also possibly lead to more ppl discovering XY!TheQwerty wrote:Finally, if anyone wants to join the XYplorer project on Google Code, we could have multiple people contributing to a centralized repository.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
Re: XY Script: Color Syntax for EditPadPro
It could be.. I've been using it for everything I've posted here, and also for syncing between my home and work computers.j_c_hallgren wrote:Could this be used as an alternate/backup for XY scripts alsoTheQwerty wrote:Finally, if anyone wants to join the XYplorer project on Google Code, we could have multiple people contributing to a centralized repository.
Google means for it to be used to store the source of a program, and I'm abusing the repository a bit to use it for scripts, and small snippets that I use with XY instead. I use it more its syncing abilities than for its source code versioning and management.
Anyone who is given the ability to add (commit) to the repository will be able to change any of the files, and everything there is accessible to the public, so if you keep that in mind when committing you are free to backup your scripts there.
I was thinking more along the lines of allowing us all to share and collaborate on our scripts and resources. For instance the one I just released here. I have no interest in using it or maintaining it but if someone wants to join the project and do so I'll let them.
I could see it also becoming a good resource for when XY gets snippets.
EDIT: Grr! You changed your post on me!
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: XY Script: Color Syntax for EditPadPro
TheQwerty wrote:EDIT: Grr! You changed your post on me!Yes, if they want to join and do so I'd welcome them.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
Re: XY Script: Color Syntax for EditPadPro
Heh! That also explains away my confusion on why the forum told me there was no message with that ID when I went to reply, but you were still the last post.j_c_hallgren wrote:... so actually deleted it a couple of min later...but...I then ... re-did my post
Re: XY Script: Color Syntax for EditPadPro
i saw the stuff in the license lounge and that reminded me that the UltraEdit wordfile needs an update. Here it is:
Code: Select all
/L20"XYplorer Script" Nocase Line Comment = // Block Comment On = /* Block Comment Off = */ 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
break
continue
else elseif end
if
while
/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
false
true
/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
+ - * / == != < <<< > <= => && || ? :
and
or
Like LikeI
xor
/C6"Built-in Functions" STYLE_FUNCTION
asc assert
backupto box br
call chr Comment compare confirm copyitem copytext copyto
delete download
echo eval exists
filter focus
getinfo getkey gettoken global goto
highlight html
incr input inputfile inputfolder internetflags
load loadsearch loadtree
md5 moveto msg
new
open openwith
property
quote
readfile readurl regexreplace rename report replace rotate run
savesettings sel self selfilter seltab set setkey setting settingp sortby status step strlen strpos strrepeat sub substr swapnames
tag text timestamp
unset unstep urldecode urlencode utf8decode utf8encode
writefile
/C7"Numeric Functions" STYLE_FUNCTION
** #
/C8"not used"-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XY Script: Color Syntax for EditPadPro
Thanks!Pagat wrote:i saw the stuff in the license lounge and that reminded me that the UltraEdit wordfile needs an update. Here it is: ...
FAQ | XY News RSS | XY X
Re: XY Script: Color Syntax for EditPadPro
i have an updated version of jacky's EditPadPro syntax highlighting.
it includes new commands, variables and curly brackets.
however, i can't upload it as an attachment.
Don, should i send it to you via PM?
it includes new commands, variables and curly brackets.
however, i can't upload it as an attachment.
Don, should i send it to you via PM?
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
-
admin
- Site Admin
- Posts: 65390
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XY Script: Color Syntax for EditPadPro
Via email is better, thanks!Muroph wrote:i have an updated version of jacky's EditPadPro syntax highlighting.
it includes new commands, variables and curly brackets.
however, i can't upload it as an attachment.
Don, should i send it to you via PM?
FAQ | XY News RSS | XY X
XYplorer Beta Club