about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-24 16:27:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-24 16:27:32 -0700
commite8019034268ece1f5aa1bd86fdf66b952cc9ec4e (patch)
treece26f239506027ddfdb477c416094376a1498f11
parent95fe5a4a07989382be6adb85f59ff7292a93fdee (diff)
downloadmu-e8019034268ece1f5aa1bd86fdf66b952cc9ec4e.tar.gz
1634
-rw-r--r--edit.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/edit.mu b/edit.mu
index c507f449..77e10983 100644
--- a/edit.mu
+++ b/edit.mu
@@ -284,7 +284,7 @@ recipe event-loop [
     {
       t:address:touch-event <- maybe-convert e:event, touch:variant
       break-unless t:address:touch-event
-      editor:address:editor-data <- move-cursor-in-editor editor:address:editor-data, t:address:touch-event
+      editor:address:editor-data <- move-cursor-in-editor editor:address:editor-data, t:address:touch-event/deref
       loop +next-event:label
     }
     c:address:character <- maybe-convert e:event, text:variant
@@ -296,11 +296,11 @@ recipe event-loop [
 recipe move-cursor-in-editor [
   default-space:address:array:location <- new location:type, 30:literal
   editor:address:editor-data <- next-ingredient
-  t:address:touch-event <- next-ingredient
+  t:touch-event <- next-ingredient
   row:address:number <- get-address editor:address:editor-data/deref, cursor-row:offset
-  row:address:number/deref <- get t:address:touch-event/deref, row:offset
+  row:address:number/deref <- get t:touch-event, row:offset
   column:address:number <- get-address editor:address:editor-data/deref, cursor-column:offset
-  column:address:number/deref <- get t:address:touch-event/deref, column:offset
+  column:address:number/deref <- get t:touch-event, column:offset
   # todo: adjust 'cursor' pointer into editor data
 ]
 
7f2e471d9a34b4c528db6ee2024ef874'>a2853ab6 ^
f8f6f7f9 ^
f8f6f7f9 ^

29028631 ^

a2853ab6 ^
3ee05c16 ^

f8f6f7f9 ^






29028631 ^
f8f6f7f9 ^









f8f6f7f9 ^






dade4742 ^
fd29d7e6 ^
0df1d653 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95