Posted: 10 Apr 2008 07:45
Pagat wrote:Since my editor of choice is UltraEdit, i played around with the (syntax highlighting) wordfile and came up with this first version...
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Pagat wrote:Since my editor of choice is UltraEdit, i played around with the (syntax highlighting) wordfile and came up with this first version...
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"Great, thanks!Pagat wrote: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 = // 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"Thanks! Uploaded.Pagat wrote:Updated wordfile for UltraEdit:
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.
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.
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.
TheQwerty wrote:EDIT: Grr! You changed your post on me!Yes, if they want to join and do so I'd welcome them.
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
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"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: ...
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?