6.0

Table Of Contents
32
PlanetPress Talk Editor
2
Debugging Features
The Editor provides four key features that can help you debug problem programs: execution control,
breakpoints, spies, and expression evaluation. They are not available when you launch the Editor from the
PlanetPress Talk properties of a document or condition, when you are editing the PlanetPress Talk before/
after paragraph properties of a text object, or when you are creating or editing a global function.
Syntax highlighting You can use syntax highlighting to make the different elements of the code in
the Code area easier to distinguish visually. For example, you might choose to
display all command names in a bold font with the color set to black, and all
comments in a regular font with the color set to gray.
Convenient navigation You can navigate in the Code area as you would in a text editor, using the
arrow keys, and the scrollbars that appear on the bottom and on the right of
the Code area when the code extends beyond the size of the Code area.
The Editor also provides bookmarks to make it easy to jump to a specific point
in the code, and a feature to make it easy to jump to a specific line number.
Selection and manipulation of a
region of code
You can select a region of code and then cut, copy, paste, or delete that region.
Undo command You can undo either a single editing command, or a group of editing
commands. You can also repeat the undo to continue undoing previously
entered commands or groups of commands.
Search, and search and replace You can perform search as well as search and replace operations in the Editor.
Program execution control You can run a program through to completion, advance execution only to the
pointer position, or advance execution one line of code at a time.
Result preview You can use the Object Preview to preview the result of execution.
Print the program You can print the code that appears in the Code area and set a number of
options that determine how the code prints.
Import and export programs The Editor can import and export programs. Thus you can write code in an
external text editor and import it, or save the code you write in the Editor out
to a file.
Help references The Commands area provides a quick reference for the PlanetPress Talk
language, and the command name completion feature and the argument list
display feature provide quick references for specific commands.
What debugging features are available in the PlanetPress Talk Editor?
Feature: Description: