Adobe Dreamweaver API Reference CS5 Manual de usuario Pagina 486

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 533
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 485
481
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
Description
Replaces the range of source text between startOffset and endOffset with string. If startOffset is greater than endOffset
or if either offset is not a positive integer, it does nothing and returns
false. If endOffset is greater than the number of
characters in the file, it replaces the range between startOffset and the end of the file. If both startOffset and endOffset
are greater than the number of characters in the file, it inserts the text at the end of the file.
Arguments
startOffset, endOffset, string
The startOffset argument is the offset that indicates the beginning of the block to replace.
The endOffset argument is the offset that indicates the end of the block to replace.
The string argument is the string to insert.
Returns
A Boolean value: true if successful; false otherwise.
dom.source.scrollEndFile()
Availability
Dreamweaver 4.
Description
Scrolls the Code view to the bottom of the document file without moving the insertion point.
Arguments
None.
Returns
Nothing.
dom.source.scrollLineDown()
Availability
Dreamweaver 4.
Description
Scrolls the Code view down line by line without moving the insertion point.
Arguments
nTimes
The nTimes argument is the number of lines to scroll. If nTimes is omitted, the default is 1.
Returns
Nothing.
Vista de pagina 485
1 2 ... 481 482 483 484 485 486 487 488 489 490 491 ... 532 533

Comentarios a estos manuales

Sin comentarios