~rabbits/orca-toy

7c129ad6ca9b9152dbee5158fa7962f784fa60d3 — neauoire 1 year, 8 months ago ec9e4f5
Added delete key to erase
6 files changed, 31 insertions(+), 46 deletions(-)

M .gitignore
M README.md
M demo.orca
R orca.c => etc/orca.c
M orca.tal
D untitled.orca
M .gitignore => .gitignore +2 -1
@@ 1,1 1,2 @@
bin/
\ No newline at end of file
bin/
untitled.orca
\ No newline at end of file

M README.md => README.md +1 -1
@@ 61,12 61,12 @@ To display the list of operators inside of Orca, use `CmdOrCtrl+G`.

## Controls

- `arrow` move
- `shift+arrow` scale selection
- `ctrl+arrow` drag selection
- `space` toggle play/paste
- `backspace` erase
- `escape` deselect
- `arrow` move
- `ctrl+n` new
- `ctrl+r` rename
- `ctrl+o` open

M demo.orca => demo.orca +25 -16
@@ 1,16 1,25 @@
................................
.#.DEMO.......................#.
................................
..1AC..1BC..1CC..1DC..1FC...G...
...D....B....4..................
................................
...H...1IC...J....K...1LC..1MC..
........6..............1....C...
................................
...O....P....Q...1RC...T...1UC..
..................8.............
................................
...V....X....Y...1ZC............
..................C.............
.....................D..........
......................:23E......
.........................................
.#.DEMO.......................#..........
.........................................
..1AC..1BC..1CC..1DC..1FC...G............
...D....B....1...........................
.........................................
...H...1IC...J....K...1LC..1MC...........
........1..............1....C............
.........................................
...O....P....Q...1RC...T...1UC...........
..................1......................
.........................................
...V....X....Y...1ZC.....................
..................8......................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................

R orca.c => etc/orca.c +0 -0
M orca.tal => orca.tal +3 -3
@@ 1,7 1,7 @@
( Orca
	
	space - toggle play/paste
	backspace - erase
	backspace/delete - erase
	escape - deselect
	arrow - move
	shift+arrow - scale selection


@@ 21,7 21,7 @@
		- Insert mode
		- Display on-screen guide
		- Leap move with alt modifier
)
		- Hide cursor when moving with arrows )

%+  { ADD } %-   { SUB }  %*  { MUL }  %/  { DIV }
%<  { LTH } %>   { GTH }  %=  { EQU }  %!  { NEQ }


@@ 261,7 261,7 @@ BRK
	DUP #20 ! ,&no-space JCN
		.timer/alive TOGGLE
		;redraw JSR2 POP BRK &no-space
	DUP #08 ! ,&no-backspace JCN
	DUP #08 ! OVR #7f ! #0101 == ,&no-backspace JCN
		CHAR-DOT ;fill-block JSR2 
		;redraw JSR2 POP BRK &no-backspace
	DUP #1b ! ,&no-escape JCN

D untitled.orca => untitled.orca +0 -25
@@ 1,25 0,0 @@
.........................................
.#.DEMO.......................#..........
.........................................
..1AC..1BC..1CC..1DC..1FC...G............
...d....b....0....*......................
.........................................
...H...1IC...J....K...1LC..1MC...........
........0..............1....c............
.........................................
...O....P....Q....R....T....U............
..................0......................
.........................................
...V....X....Y....Z......................
..................0......................
.........................................
.......................D5................
........................=03C.............
.......................D3................
.......................*:13C.............
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................