diff options
Diffstat (limited to 'otherlibs/labltk/browser/jg_tk.ml')
-rw-r--r-- | otherlibs/labltk/browser/jg_tk.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/browser/jg_tk.ml b/otherlibs/labltk/browser/jg_tk.ml index 32ed9699c..98ac89c7e 100644 --- a/otherlibs/labltk/browser/jg_tk.ml +++ b/otherlibs/labltk/browser/jg_tk.ml @@ -15,8 +15,8 @@ open Tk -let tpos x : textIndex = `Linechar (1,0), [`Char x] -and tposend x : textIndex = `End, [`Char (-x)] +let tpos ?(modi=[]) x : textIndex = `Linechar (1,0), `Char x :: modi +and tposend ?(modi=[]) x : textIndex = `End, `Char (-x) :: modi let tstart : textIndex = `Linechar (1,0), [] and tend : textIndex = `End, [] |