EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 23

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 22
CHAPTER 2: The ExtendScript Toolkit The Script Editor 23
You can use the flyout menu at the upper right corner of the document window to choose an
object-model dictionary to use for completion. Available dictionaries depend on which applications are
loaded. See
Inspecting object models” on page 36.
Brace matching
The Edit menu offers two kinds of brace-matching selection, that operate when the cursor is placed
immediate after an opening brace character, or immediately before a closing brace:
X Edit > Select to Brace: Moves the cursor to the matching bracing, but does not select any text. The
default keyboard shortcut is C
TRL 0 (zero).
X Edit > Select Including Brace: Selects all text between the braces. The default keyboard shortcut is
S
HIFT CTRL 0 (zero).
Brace characters include parentheses, curly braces, and square brackets.
Block indentation
When Word Wrap is off, you can automatically indent or outdent entire blocks of text. To indent a block of
text, select some or all of the text on the line or lines, and press T
AB. (Be careful; if Word Wrap is on, this
deletes the selected text.) To outdent, press S
HIFT TAB.
Comment and uncomment commands
Use Edit > Comment or Uncomment Selection to temporarily remove parts of a JavaScript program from
the path of execution. This command is a toggle. When you first issue the command, it places the special
comment sequence
//~ at the front of any line that is wholly or partially selected. When you next issue the
command with such a line selected, it removes that comment marker.
The command affects only the comment markers it places in the text; it ignores any comment markers that
were already in the selected lines. This allows you to temporarily remove and replace blocks of text that
include both code and comments.
Version comments
A special comment format is reserved for a code versioning statement, which is used internally by Adobe
scripts, but is available to all scripters. Use Edit > Insert Version Tag to insert a comment containing the
file name and current date-time, in this format:
flyout menu
Select object
model dictionary
for completion
Vista de página 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 303 304

Comentários a estes Manuais

Sem comentários