Mercurial > projects > dwt-addons
comparison dwtx/jface/text/presentation/PresentationReconciler.d @ 136:6dcb0baaa031
Regex removal of throws decls, some instanceof
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:20:40 +0200 |
parents | 51e6e63f930e |
children | b6bad70d540a |
comparison
equal
deleted
inserted
replaced
135:65801ad2b265 | 136:6dcb0baaa031 |
---|---|
533 * | 533 * |
534 * @param e the event describing the change | 534 * @param e the event describing the change |
535 * @return the damage end offset (excluding) | 535 * @return the damage end offset (excluding) |
536 * @exception BadLocationException if method accesses invalid offset | 536 * @exception BadLocationException if method accesses invalid offset |
537 */ | 537 */ |
538 private int getDamageEndOffset(DocumentEvent e) throws BadLocationException { | 538 private int getDamageEndOffset(DocumentEvent e) { |
539 | 539 |
540 IDocument d= e.getDocument(); | 540 IDocument d= e.getDocument(); |
541 | 541 |
542 int length= 0; | 542 int length= 0; |
543 if (e.getText() !is null) { | 543 if (e.getText() !is null) { |
594 * @param offset the offset | 594 * @param offset the offset |
595 * @return the partition | 595 * @return the partition |
596 * @throws BadLocationException if offset is invalid in the given document | 596 * @throws BadLocationException if offset is invalid in the given document |
597 * @since 3.0 | 597 * @since 3.0 |
598 */ | 598 */ |
599 private ITypedRegion getPartition(IDocument document, int offset) throws BadLocationException { | 599 private ITypedRegion getPartition(IDocument document, int offset) { |
600 return TextUtilities.getPartition(document, getDocumentPartitioning(), offset, false); | 600 return TextUtilities.getPartition(document, getDocumentPartitioning(), offset, false); |
601 } | 601 } |
602 } | 602 } |