Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Setting tab stops in the Source window

You can set tab stops in the Source window by selecting the Main window Options > Edit Preferences command. Follow these steps:

  1. Select the By Names tab.
  2. Select Source in the first column, and then select the "tabs" item in the second column.
  3. Press the Change Value button.
  4. In the dialog that appears, enter a single number "n", which sets a tab stop every n characters (where a character width is the width of the "8" character).

or

Enter a list of screen distances for the tab stops. For instance,
21 49 77 105 133 161 189 217 245 273 301 329 357 385 413 441 469

The number 21 or 21p means 21 pixels; the number 3c means three centimeters; the number 1i means one inch.


Important: Do not use quotes or braces in the list (i.e., "21 49" or {21 49}). This will cause the GUI to hang.

You can also set tab stops using the PrefSource(tabs) Tcl preference variable.


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase