Page 2 of 4
Posted: 26 Feb 2008 15:13
by TheQwerty
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
Posted: 27 Feb 2008 08:19
by admin
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.
I can't download them this time.

How to do it?
Posted: 27 Feb 2008 12:44
by TheQwerty
admin wrote: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.
I can't download them this time.

How to do it?
Hmmm.. try these then:
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
Posted: 27 Feb 2008 13:00
by admin
Posted: 27 Feb 2008 14:51
by eurytos
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

Posted: 08 Apr 2008 21:37
by JustinF
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.
Posted: 08 Apr 2008 21:47
by admin
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.
Wow, looks like a lot of good work!
May I put them to the support page with your name attached?
Posted: 08 Apr 2008 22:05
by JustinF
admin wrote: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.
Wow, looks like a lot of good work!
May I put them to the support page with your name attached?
Of course! I would feel honored.
The descriptions in the definition file were taken pretty much straight from the XYwiki...I hope that's okay???
Posted: 08 Apr 2008 22:31
by admin
JustinF wrote:admin wrote: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.
Wow, looks like a lot of good work!
May I put them to the support page with your name attached?
Of course! I would feel honored.
The descriptions in the definition file were taken pretty much straight from the XYwiki...I hope that's okay???
Yep, I think so. Ask jacky...
Posted: 09 Apr 2008 12:54
by jacky
admin wrote:JustinF wrote:The descriptions in the definition file were taken pretty much straight from the XYwiki...I hope that's okay???
Yep, I think so. Ask jacky...
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!
(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?
)
Posted: 09 Apr 2008 14:08
by admin
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
Having no idea of PSPad, what is a "clip definition file"?
Posted: 09 Apr 2008 14:17
by bergfex
jacky wrote:...and if you want to use PSPad to do that while obviously EditPadPro is a better choice...
Well, hardcore coders use VIM anyway. You know, the "a tool and not a toy" approach.

Posted: 09 Apr 2008 14:20
by TheQwerty
admin wrote:Having no idea of PSPad, what is a "clip definition file"?
Assuming it's similar to TextPad's clippings book. It displays a list of items that can be double clicked to insert at the cursor or around the highlighted text.
Posted: 09 Apr 2008 17:26
by JustinF
admin wrote: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
Having no idea of PSPad, what is a "clip definition file"?
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.
Posted: 09 Apr 2008 23:40
by Pagat
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
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"
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.