/usr/lib/swipl/library/prolog_colour.pl
All Application Manual Name SummaryHelp

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl
      • lists.pl
      • broadcast.pl
      • shlib.pl
      • option.pl
      • thread_pool.pl
      • gensym.pl
      • settings.pl
      • arithmetic.pl -- Extensible arithmetic
      • main.pl -- Provide entry point for scripts
      • readutil.pl
      • operators.pl
      • pairs.pl -- Operations on key-value lists
      • prolog_source.pl
      • record.pl
      • quasi_quotations.pl -- Define Quasi Quotation syntax
      • sandbox.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • yall.pl
      • assoc.pl -- Binary associations
      • prolog_format.pl
      • pure_input.pl
      • solution_sequences.pl
      • ordsets.pl -- Ordered set manipulation
      • random.pl
      • base64.pl -- Base64 encoding and decoding
      • aggregate.pl -- Aggregation operators on backtrackable predicates
      • predicate_options.pl
      • csv.pl -- Process CSV (Comma-Separated Values) data
      • pprint.pl
      • atom.pl
      • modules.pl
      • occurs.pl
      • prolog_xref.pl
      • prolog_colour.pl -- Prolog syntax colouring support.
        • prolog_colourise_stream/3
        • prolog_colourise_stream/4
        • prolog_colourise_query/3
        • prolog_colourise_term/4
        • vararg_goal_classification/3
        • syntax_colour/2
      • lazy_lists.pl
      • ugraphs.pl
      • url.pl
      • www_browser.pl
      • prolog_pack.pl
      • git.pl -- Run GIT commands
      • utf8.pl -- UTF-8 encoding/decoding on lists of character codes.
      • quintus.pl -- Quintus compatibility
      • prolog_versions.pl
      • prolog_wrap.pl
      • dialect.pl
      • date.pl
      • persistency.pl
      • iostream.pl -- Utilities to deal with streams
      • prolog_code.pl -- Utilities for reasoning about code
      • strings.pl
      • dif.pl
      • edinburgh.pl
      • terms.pl
      • ansi_term.pl -- Print decorated text to ANSI consoles
      • threadutil.pl -- Interactive thread utilities
      • prolog_stack.pl
      • prolog_clause.pl
      • prolog_breakpoints.pl -- Manage Prolog break-points
      • wfs.pl
      • sort.pl
      • dicts.pl
      • varnumbers.pl
      • rbtrees.pl -- Red black trees
      • backcomp.pl -- Backward compatibility
      • charsio.pl -- I/O on Lists of Character Codes
      • base32.pl -- Base32 encoding and decoding
      • codesio.pl
      • coinduction.pl
      • heaps.pl -- heaps/priority queues
      • statistics.pl
      • when.pl
      • increval.pl
      • nb_rbtrees.pl
      • ctypes.pl -- Character code classification
      • system.pl
      • shell.pl -- Elementary shell commands
      • tables.pl
      • prolog_metainference.pl
      • tty.pl -- Terminal operations
      • check.pl
      • prolog_codewalk.pl
      • optparse.pl
      • make.pl
      • prolog_trace.pl
      • prolog_debug.pl
      • macros.pl
      • exceptions.pl -- Exception classification
      • intercept.pl
      • listing.pl -- List programs and pretty print clauses
      • portray_text.pl
      • writef.pl -- Old-style formatted write
      • vm.pl
      • prolog_profile.pl
      • prolog_coverage.pl
      • nb_set.pl -- Non-backtrackable sets
      • prolog_jiti.pl
      • files.pl
      • oset.pl
      • thread.pl -- High level thread primitives
      • zip.pl
      • check_installation.pl -- Check installation issues and features
      • help.pl
      • prolog_autoload.pl
      • readln.pl
      • hashtable.pl
      • rwlocks.pl
      • prolog_history.pl
 prolog_colourise_term(+Stream, +SourceID, :ColourItem, +Options)
Colourise the next term on Stream. Unlike prolog_colourise_stream/3, this predicate assumes it is reading a single term rather than the entire stream. This implies that it cannot adjust syntax according to directives that precede it.

Options:

subterm_positions(-TermPos)
Return complete term-layout. If an error is read, this is a term error_position(StartClause, EndClause, ErrorPos)
current_variable(+VarName)
Variable to highlight