comparison dwtx/jface/text/source/ILineDiffer.d @ 139:93a6ec48fd28

Regexp throws removal in interfaces
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:31:41 +0200
parents c4fb132a086c
children
comparison
equal deleted inserted replaced
138:b6bad70d540a 139:93a6ec48fd28
120 * are deleted at its borders. 120 * are deleted at its borders.
121 * 121 *
122 * @param line the line number of the line to be restored. 122 * @param line the line number of the line to be restored.
123 * @throws BadLocationException if <code>line</code> is out of bounds. 123 * @throws BadLocationException if <code>line</code> is out of bounds.
124 */ 124 */
125 void revertLine(int line) throws BadLocationException; 125 void revertLine(int line) ;
126 126
127 /** 127 /**
128 * Reverts a block of modified / added lines to their original state, including any deleted 128 * Reverts a block of modified / added lines to their original state, including any deleted
129 * lines inside the block or at its borders. A block is considered to be a range of modified 129 * lines inside the block or at its borders. A block is considered to be a range of modified
130 * (e.g. changed, or added) lines. 130 * (e.g. changed, or added) lines.
131 * 131 *
132 * @param line any line in the block to be reverted. 132 * @param line any line in the block to be reverted.
133 * @throws BadLocationException if <code>line</code> is out of bounds. 133 * @throws BadLocationException if <code>line</code> is out of bounds.
134 */ 134 */
135 void revertBlock(int line) throws BadLocationException; 135 void revertBlock(int line) ;
136 136
137 /** 137 /**
138 * Reverts a range of lines to their original state, including any deleted 138 * Reverts a range of lines to their original state, including any deleted
139 * lines inside the block or at its borders. 139 * lines inside the block or at its borders.
140 * 140 *
141 * @param line any line in the block to be reverted. 141 * @param line any line in the block to be reverted.
142 * @param nLines the number of lines to be reverted, must be &gt; 0. 142 * @param nLines the number of lines to be reverted, must be &gt; 0.
143 * @throws BadLocationException if <code>line</code> is out of bounds. 143 * @throws BadLocationException if <code>line</code> is out of bounds.
144 */ 144 */
145 void revertSelection(int line, int nLines) throws BadLocationException; 145 void revertSelection(int line, int nLines) ;
146 146
147 /** 147 /**
148 * Restores the deleted lines after <code>line</code>. 148 * Restores the deleted lines after <code>line</code>.
149 * 149 *
150 * @param line the deleted lines following this line number are restored. 150 * @param line the deleted lines following this line number are restored.
151 * @return the number of restored lines. 151 * @return the number of restored lines.
152 * @throws BadLocationException if <code>line</code> is out of bounds. 152 * @throws BadLocationException if <code>line</code> is out of bounds.
153 */ 153 */
154 int restoreAfterLine(int line) throws BadLocationException; 154 int restoreAfterLine(int line) ;
155 } 155 }