Mercurial > projects > dwt-addons
comparison dwtx/text/edits/UndoEdit.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 | c4fb132a086c |
children | f70d9508c95c |
comparison
equal
deleted
inserted
replaced
135:65801ad2b265 | 136:6dcb0baaa031 |
---|---|
67 } | 67 } |
68 | 68 |
69 /* | 69 /* |
70 * @see dwtx.text.edits.TextEdit#internalAdd(dwtx.text.edits.TextEdit) | 70 * @see dwtx.text.edits.TextEdit#internalAdd(dwtx.text.edits.TextEdit) |
71 */ | 71 */ |
72 void internalAdd(TextEdit child) throws MalformedTreeException { | 72 void internalAdd(TextEdit child) { |
73 throw new MalformedTreeException(null, this, TextEditMessages.getString("UndoEdit.no_children")); //$NON-NLS-1$ | 73 throw new MalformedTreeException(null, this, TextEditMessages.getString("UndoEdit.no_children")); //$NON-NLS-1$ |
74 } | 74 } |
75 | 75 |
76 /* | 76 /* |
77 * @see dwtx.text.edits.MultiTextEdit#aboutToBeAdded(dwtx.text.edits.TextEdit) | 77 * @see dwtx.text.edits.MultiTextEdit#aboutToBeAdded(dwtx.text.edits.TextEdit) |
78 */ | 78 */ |
79 void aboutToBeAdded(TextEdit parent) { | 79 void aboutToBeAdded(TextEdit parent) { |
80 throw new MalformedTreeException(parent, this, TextEditMessages.getString("UndoEdit.can_not_be_added")); //$NON-NLS-1$ | 80 throw new MalformedTreeException(parent, this, TextEditMessages.getString("UndoEdit.can_not_be_added")); //$NON-NLS-1$ |
81 } | 81 } |
82 | 82 |
83 UndoEdit dispatchPerformEdits(TextEditProcessor processor) throws BadLocationException { | 83 UndoEdit dispatchPerformEdits(TextEditProcessor processor) { |
84 return processor.executeUndo(); | 84 return processor.executeUndo(); |
85 } | 85 } |
86 | 86 |
87 void dispatchCheckIntegrity(TextEditProcessor processor) throws MalformedTreeException { | 87 void dispatchCheckIntegrity(TextEditProcessor processor) { |
88 processor.checkIntegrityUndo(); | 88 processor.checkIntegrityUndo(); |
89 } | 89 } |
90 | 90 |
91 /* | 91 /* |
92 * @see dwtx.text.edits.TextEdit#doCopy() | 92 * @see dwtx.text.edits.TextEdit#doCopy() |
106 } | 106 } |
107 | 107 |
108 /* | 108 /* |
109 * @see TextEdit#performDocumentUpdating | 109 * @see TextEdit#performDocumentUpdating |
110 */ | 110 */ |
111 int performDocumentUpdating(IDocument document) throws BadLocationException { | 111 int performDocumentUpdating(IDocument document) { |
112 fDelta= 0; | 112 fDelta= 0; |
113 return fDelta; | 113 return fDelta; |
114 } | 114 } |
115 | 115 |
116 void add(ReplaceEdit edit) { | 116 void add(ReplaceEdit edit) { |