Slate.tip
Copyright Ó 1990, 1991, 1992 by Xerox Corporation. All rights reserved.
Created by Christian Jacobi, November 8, 1990 7:13:58 pm PST
Christian Jacobi, July 2, 1993 3:20 pm PDT
Slate is a simple "text" editor for Liveboards
Red=Left, Yellow=Middle, Blue=Right
OPTIONS
Fast,
PrintKeys;
SELECT TRIGGER FROM
[DEF,ClickTime,(170)]
[DEF,DownClick,(~1 Down BEFORE [ClickTime])]
[DEF,UpClick,(~1 Up BEFORE [ClickTime])]
[DEF,Click,([UpClick,~1] AND [DownClick,~1])]
[DEF,BothUp,(~1 Up WHILE ~2 Up)]
[DEF,SHIFT,(LeftShift Down | RightShift Down)]
[DEF,CTRL,(Ctrl Down | Spare3 Down)]
Blue Down => SELECT ENABLE FROM
[BothUp,Red,Yellow] => SELECT TRIGGER FROM
[Click,Blue] => Coords, focus, paste;
ENDCASE => Coords, focus;
ENDCASE;
Mouse => Coords, contany;
Red Down => SELECT ENABLE FROM
[CTRL] => Coords, focus;
[SHIFT] => Coords, starterase;
ENDCASE => Coords, startpaint;
Red Up => Coords, endany;
Yellow Down => Coords, starterase;
Yellow Up => Coords, endany;
Paste Down => paste;
Return Down => nextLine;
LF Down => newLine;
ENDCASE.