|
I
trashed the Patch Browser completely and revamped the way it worked,
and added the functionality I wanted into it when looking at patch
files. It still browses patches however, that was just way too handy to
get rid of.
KitterSpeak: Constructed
a complete Copy, Cut, and Paste system for KitterSpeak. And it's pretty
rocking, you can select just specific lines in one shape, then paste
just those lines onto another shape. Or just cut them from that shape,
then paste them elsewhere in the shape. I believe that I also manage to
construct the paste part of the script where there's a mode that will
permit you to paste KitterCode directly from the client, the script
looks for the headers when it sees text on the clipboard.
As Plain Text:
CODE
KitterSpeak (0) Set default frame delay to 250 ms (1) Show Frame 0 (2) Show Frame 1 (3) Show Frame 2 (4) Show Frame 3 (5) Show Frame 2 (6) Show Frame 1 (EOD)
As KitterSpeak Clipboard Format (CTRL+INSERT / SHIFT+INSERT):
CODE
KitterSpeak:7:7, 11:250:0, 1:0:0, 1:1:0, 1:2:0, 1:3:0, 1:2:1, 1:1:1
The commands available are your usual Clip commands:
- CTRL+A Selects All KitterSpeak
- CTRL+X Cuts selected KitterSpeak
- CTRL+C Copies selected KitterSpeak
- CTRL+V Pastes the Clipboard above the currently selected line, if none, then
at the beginning. Note the EOD, that's a marker for the end of the
KitterSpeak, if you want to paste at the end, just select that marker.
If you have more than one line selected, it will only paste at the
first selected line. It does NOT replace selected lines.
In addition to that, there's two special commands for doing Copy & Paste between users in the chat buffer:
- CTRL+Insert Copies the selected KitterSpeak Code to the clipboard.
- SHIFT+Insert "Attempts" to paste the clipboard contents. Note the "attempts", the
program scans the contents of the Clipboard, and if it finds the
"magic" phrase KitterSpeak, it verifies that it can create a
KitterPaste from the contents.
And, to add icing on the cake,
it will do editing of KitterSpeak. The editor is fairly close to the
official editor, you can also insert a KitterSpeak command
where you need one. Do bear in mind that this is not like the official
version put out by DEP, the checks it does may not be as exacting as
theirs, or it may be imposing too strict of a limit, let me know. Also
note that when you insert a KitterSpeak command, it will mess up any
jump points after that, check your work.
Later versions will probably include means to automatically adjust jump
points in the KitterList. Note that the Cut, Copy, & Paste
functions are not available in the Editor, (will make them work later
on), if you need to move a line by more than a couple, it's just plain
faster to exit the editor and use the main interface to move the line.
- Up Arrow Icon Bump the selected line up one
- Down Arrow Icon Bump the selected line down one
- Close Closes the editor and returns you to the main interface
- Save Saves the line currently being edited
- Cancel Cancels the edit of the current line
- Edit (or double clicking) Enters edit mode for the currently selected line
- Add Adds a KitterSpeak command to the end of the list
- Insert Inserts a KitterSpeak command at the currently selected line, everything is bumped down on Save
To invoke the editor, use either CTRL+E or double click the line you want to edit.
This
program also affects Shape Properties, will construct a positioning
window as soon as I figure out how the offsets should work when viewing
the shape in it, that's both shape relative to the "pink floor tile",
and the furre position relative to the shape. When affecting Shape
Properties, you can use the SHIFT and / or CTRL keys to make multiple
selections and do a mass change or the walk, sit, get properties on all
selected shapes, just click on the appropriate check box to make the
change. |