4.4 Editor Interface
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Editor Interface
          • edit/1
          • edit/0
          • Customizing the editor interface
    • Packages
Availability::- use_module(library(edit)).(can be autoloaded)
Sourceedit
Edit theā€˜default' file using edit/1. The default file is either the first .pl file from the commandline (the associated file, see the Prolog flag associated_file or the first script file specified using the -s or -l command line option. When using the Windows shell while SWI-Prolog is associated with the .pl extension this is the file loaded by double-clicking a .pl file. See also section 2.11.2.1.