summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/browser/jg_completion.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2010-04-08 03:58:41 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2010-04-08 03:58:41 +0000
commitee36e1d1c5fa2c90a86ae9b6a9a3f6d3666b4e2b (patch)
tree35b439e2c89eb0463944dd6611f567deff2a218b /otherlibs/labltk/browser/jg_completion.ml
parentcfd555426d1d99c104669d05432f689f025ea374 (diff)
merge branches/override
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/browser/jg_completion.ml')
-rw-r--r--otherlibs/labltk/browser/jg_completion.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/browser/jg_completion.ml b/otherlibs/labltk/browser/jg_completion.ml
index feb03c42f..c93b099b3 100644
--- a/otherlibs/labltk/browser/jg_completion.ml
+++ b/otherlibs/labltk/browser/jg_completion.ml
@@ -41,13 +41,13 @@ class timed ?nocase ?wait texts = object (self)
inherit completion texts ?nocase as super
val wait = match wait with None -> 500 | Some n -> n
val mutable timer = None
- method add c =
+ method! add c =
begin match timer with
None -> self#reset
| Some t -> Timer.remove t
end;
timer <- Some (Timer.add ~ms:wait ~callback:(fun () -> self#reset));
super#add c
- method reset =
+ method! reset =
timer <- None; super#reset
end