comparison dwtx/jface/text/IDocument.d @ 134:51e6e63f930e

Regex fix for casts
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:46:20 +0200
parents c4fb132a086c
children 93a6ec48fd28
comparison
equal deleted inserted replaced
133:7d818bd32d63 134:51e6e63f930e
545 * contained by the result of <code>getPartitioning(0, getLength())</code>. 545 * contained by the result of <code>getPartitioning(0, getLength())</code>.
546 * <p> 546 * <p>
547 * Use {@link IDocumentExtension3#getLegalContentTypes(String)} when the document 547 * Use {@link IDocumentExtension3#getLegalContentTypes(String)} when the document
548 * supports multiple partitionings. In that case this method is equivalent to: 548 * supports multiple partitionings. In that case this method is equivalent to:
549 * <pre> 549 * <pre>
550 * IDocumentExtension3 extension= (IDocumentExtension3) document; 550 * IDocumentExtension3 extension= cast(IDocumentExtension3) document;
551 * return extension.getLegalContentTypes(IDocumentExtension3.DEFAULT_PARTITIONING); 551 * return extension.getLegalContentTypes(IDocumentExtension3.DEFAULT_PARTITIONING);
552 * </pre> 552 * </pre>
553 * 553 *
554 * @return the set of legal content types 554 * @return the set of legal content types
555 */ 555 */
561 * <p> 561 * <p>
562 * Use {@link IDocumentExtension3#getContentType(String, int, bool)} when 562 * Use {@link IDocumentExtension3#getContentType(String, int, bool)} when
563 * the document supports multiple partitionings. In that case this method is 563 * the document supports multiple partitionings. In that case this method is
564 * equivalent to: 564 * equivalent to:
565 * <pre> 565 * <pre>
566 * IDocumentExtension3 extension= (IDocumentExtension3) document; 566 * IDocumentExtension3 extension= cast(IDocumentExtension3) document;
567 * return extension.getContentType(IDocumentExtension3.DEFAULT_PARTITIONING, offset, false); 567 * return extension.getContentType(IDocumentExtension3.DEFAULT_PARTITIONING, offset, false);
568 * </pre> 568 * </pre>
569 * 569 *
570 * @param offset the document offset 570 * @param offset the document offset
571 * @return the partition type 571 * @return the partition type
578 * <p> 578 * <p>
579 * Use {@link IDocumentExtension3#getPartition(String, int, bool)} when 579 * Use {@link IDocumentExtension3#getPartition(String, int, bool)} when
580 * the document supports multiple partitionings. In that case this method is 580 * the document supports multiple partitionings. In that case this method is
581 * equivalent: 581 * equivalent:
582 * <pre> 582 * <pre>
583 * IDocumentExtension3 extension= (IDocumentExtension3) document; 583 * IDocumentExtension3 extension= cast(IDocumentExtension3) document;
584 * return extension.getPartition(IDocumentExtension3.DEFAULT_PARTITIONING, offset, false); 584 * return extension.getPartition(IDocumentExtension3.DEFAULT_PARTITIONING, offset, false);
585 * </pre> 585 * </pre>
586 * 586 *
587 * @param offset the document offset 587 * @param offset the document offset
588 * @return a specification of the partition 588 * @return a specification of the partition
596 * <p> 596 * <p>
597 * Use {@link IDocumentExtension3#computePartitioning(String, int, int, bool)} when 597 * Use {@link IDocumentExtension3#computePartitioning(String, int, int, bool)} when
598 * the document supports multiple partitionings. In that case this method is 598 * the document supports multiple partitionings. In that case this method is
599 * equivalent: 599 * equivalent:
600 * <pre> 600 * <pre>
601 * IDocumentExtension3 extension= (IDocumentExtension3) document; 601 * IDocumentExtension3 extension= cast(IDocumentExtension3) document;
602 * return extension.computePartitioning(IDocumentExtension3.DEFAULT_PARTITIONING, offset, length, false); 602 * return extension.computePartitioning(IDocumentExtension3.DEFAULT_PARTITIONING, offset, length, false);
603 * </pre> 603 * </pre>
604 * 604 *
605 * @param offset the document offset at which the range starts 605 * @param offset the document offset at which the range starts
606 * @param length the length of the document range 606 * @param length the length of the document range
647 * listeners about this change. 647 * listeners about this change.
648 * <p> 648 * <p>
649 * Use {@link IDocumentExtension3#setDocumentPartitioner(String, IDocumentPartitioner)} when 649 * Use {@link IDocumentExtension3#setDocumentPartitioner(String, IDocumentPartitioner)} when
650 * the document supports multiple partitionings. In that case this method is equivalent to: 650 * the document supports multiple partitionings. In that case this method is equivalent to:
651 * <pre> 651 * <pre>
652 * IDocumentExtension3 extension= (IDocumentExtension3) document; 652 * IDocumentExtension3 extension= cast(IDocumentExtension3) document;
653 * extension.setDocumentPartitioner(IDocumentExtension3.DEFAULT_PARTITIONING, partitioner); 653 * extension.setDocumentPartitioner(IDocumentExtension3.DEFAULT_PARTITIONING, partitioner);
654 * </pre> 654 * </pre>
655 * 655 *
656 * @param partitioner the document's new partitioner 656 * @param partitioner the document's new partitioner
657 * 657 *
664 * <p> 664 * <p>
665 * Use {@link IDocumentExtension3#getDocumentPartitioner(String)} when 665 * Use {@link IDocumentExtension3#getDocumentPartitioner(String)} when
666 * the document supports multiple partitionings. In that case this method is 666 * the document supports multiple partitionings. In that case this method is
667 * equivalent to: 667 * equivalent to:
668 * <pre> 668 * <pre>
669 * IDocumentExtension3 extension= (IDocumentExtension3) document; 669 * IDocumentExtension3 extension= cast(IDocumentExtension3) document;
670 * return extension.getDocumentPartitioner(IDocumentExtension3.DEFAULT_PARTITIONING); 670 * return extension.getDocumentPartitioner(IDocumentExtension3.DEFAULT_PARTITIONING);
671 * </pre> 671 * </pre>
672 * 672 *
673 * @return this document's partitioner 673 * @return this document's partitioner
674 */ 674 */