Desktop Tools and Development Environment Previous page   Next Page

Display Preferences for the Editor/Debugger

Select File -> Preferences -> Editor/Debugger -> Display to specify these preferences:

Right-Hand Text Limit

By default, a light red vertical line appears at column 75 in the Editor/Debugger, providing a cue as to when a line of code becomes wider than desired, for example, for printing.

Image of Right-hand text limit field in Display preferences panel for the Editor/Debugger.

To hide the vertical line, clear the Show line at check box. To change the column at which the vertical line appears, enter the new value in the columns edit field.

The actual column number you set it at is most useful when the preference for the Editor/Debugger font is a monospaced font. See Fonts Preferences for Desktop Tools for details.

See also Comment Formatting for information about wrapping a comment line when it reaches a specified column number.

General Display Options

Show line numbers.   Select this item to show line numbers along the left edge of the Editor/Debugger window. Showing line numbers allows you to easily use various Editor/Debugger features, such as Edit -> Go To Line. When you clear this item, line numbers are not shown.

Enable datatips in edit mode.   Select this item to see datatips while editing an M-file. By default, datatips are not shown while editing. When you select this item, the datatips display the values of variables in the base workspace, so this is useful for script M-files rather than function M-files. Datatips are always shown in debug mode and display the value of the variable for the workspace selected in the Stack.

Cell Display Options

Show cell highlighting.   Select this item to highlight the current cell, and select a color for the highlighting. Pale yellow is the default color.

Show bold cell titles.   Select this item to make cell titles appear in bold text rather than plain text.

See Also


Previous page  Preferences for the Editor/Debugger Keyboard and Indenting Preferences for the Editor/Debugger Next page

© 1994-2005 The MathWorks, Inc.