ecmd.m 643 B

123456789101112131415161718
  1. Editcmd: module {
  2. PATH: con "/dis/acme/ecmd.dis";
  3. init : fn(mods : ref Dat->Mods);
  4. cmdexec: fn(a0: ref Textm->Text, a1: ref Edit->Cmd): int;
  5. resetxec: fn();
  6. cmdaddress: fn(a0: ref Edit->Addr, a1: Edit->Address, a2: int): Edit->Address;
  7. edittext: fn(f: ref Filem->File, q: int, r: string, nr: int): string;
  8. alllooper: fn(w: ref Windowm->Window, lp: ref Dat->Looper);
  9. alltofile: fn(w: ref Windowm->Window, tp: ref Dat->Tofile);
  10. allmatchfile: fn(w: ref Windowm->Window, tp: ref Dat->Tofile);
  11. allfilecheck: fn(w: ref Windowm->Window, fp: ref Dat->Filecheck);
  12. readloader: fn(f: ref Filem->File, q0: int, r: string, nr: int): int;
  13. };