summaryrefslogtreecommitdiff
path: root/appl/acme/look.b
diff options
context:
space:
mode:
authorYaroslav Kolomiiets <yarikos@gmail.com>2016-08-18 15:23:32 +0300
committerYaroslav Kolomiiets <yarikos@gmail.com>2016-08-18 15:23:32 +0300
commit7e86c01285e50008148bb359c61f64640a812303 (patch)
tree10e18792f2ec164ee30d8d8da0039681a0807a90 /appl/acme/look.b
parenta9a2bdd7c75a381b92a3356435a2402fd953ec77 (diff)
acme: handle Home, End keys
Diffstat (limited to 'appl/acme/look.b')
-rw-r--r--appl/acme/look.b4
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/acme/look.b b/appl/acme/look.b
index 1004b803..ca288d0a 100644
--- a/appl/acme/look.b
+++ b/appl/acme/look.b
@@ -273,7 +273,7 @@ search(ct : ref Text, r : string, n : int) : int
}
if(n <= nb && s.s[b:b+n] == r[0:n]){
if(ct.w != nil){
- ct.show(q, q+n);
+ ct.show(q, q+n, TRUE);
ct.w.settag();
}else{
ct.q0 = q;
@@ -698,7 +698,7 @@ openfile(t : ref Text, e : Expand) : (ref Window, Expand)
r.q0 = t.q0;
r.q1 = t.q1;
}
- t.show(r.q0, r.q1);
+ t.show(r.q0, r.q1, TRUE);
t.w.settag();
seltext = t;
if(e.jump)