User`s guide
Desktop Tools and Development Environment
22-5
Editing and Debugging M-Files
New features and changes introduced in Version 7.2 (R2006a) are
• “Tab Completion — Tab Now Completes Function and Variable Names” on page
22-5
• “Go Menu Added; Bookmark and Go To Items Moved from Edit Menu to Go Menu” on
page 22-6
• “Navigate Back and Forward in Files” on page 22-6
• “Keyboard and Indenting Editor/Debugger Preferences Reorganized” on page
22-6
• “M-Lint Automatic Code Analyzer Checks for Problems and Suggests Improvements”
on page 22-7
• “Debugging Changes” on page 22-8
• “Cell Mode On by Default — Shows Cell Toolbar and Possibly Horizontal Lines and
Yellow Highlighting; Cell Information Bar and Button Added” on page 22-8
• “Lines Between Cells” on page 22-10
• “Cell Titles in Bold Preference Removed” on page 22-10
Tab Completion — Tab Now Completes Function and Variable Names
You can now use tab completion in the Editor/Debugger to complete function names and
variable names that are in the current workspace. When you type the first few characters
of a function or variable name and press the Tab key, the Editor/Debugger displays a list
of all function and variable names that begin with those letters, from which you choose
one.
It operates essentially the same way as the existing tab completion feature in the
Command Window, with the exception that Editor/Debugger tab completion does not
support completion of file and path names.
To enable tab completion in the Editor/Debugger, select File > Preferences >
Keyboard, and then under Tab completion, select Tab key narrows completions.
By default, the preference is selected.
With tab completion enabled in the Editor/Debugger, you can still include tab spacing,
for example, to include a comment at the end of a line. To add tab spacing, include a
space after the last character you type and then press Tab. Instead of showing possible
completions, the Editor/Debugger moves the cursor to the right where you can continue
typing.