MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guida Utente Pagina 190

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 256
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 189
190 Use the Code Editor
Show line numbers
To more easily locate lines of code, you can display line numbers in the editor.
With the CodeEditor.mxml file open in the editor, right-click (Control-click on
Macintosh) in the left margin of the editor and select Show Line Numbers, as shown here:
Line numbers are displayed in the editor.
Add a code comment
You can quickly add a comment or convert a block of your code into a comment, using a code
editor keyboard shortcut.
1. In the code editor, position the cursor at a blank line and then press Control+Shift+C
(Command+Shift+C on Macintosh). A comment tag is added to the document, as shown
here:
<!-- -->
2.
Enter a comment between the opening and closing brackets, for example:
<!-- This is a code comment in MXML -->
In ActionScript, comment blocks are formatted using the standard ActionScript comment
format, as shown here:
/* This is a code comment in ActionScript */
3.
To convert an existing block of code into a comment, select it and then press
Control+Shift+C (Command+Shift+C on Macintosh). The entire selection is formatted as
a comment.
Vedere la pagina 189
1 2 ... 185 186 187 188 189 190 191 192 193 194 195 ... 255 256

Commenti su questo manuale

Nessun commento