Mercurial > projects > dwt-addons
diff dwtx/jface/text/DefaultUndoManager.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 51e6e63f930e |
line wrap: on
line diff
--- a/dwtx/jface/text/DefaultUndoManager.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/DefaultUndoManager.d Sun Aug 24 01:29:22 2008 +0200 @@ -244,7 +244,7 @@ * @param context the undo context for this command * @since 3.1 */ - TextCommand(IUndoContext context) { + this(IUndoContext context) { super(JFaceTextMessages.getString("DefaultUndoManager.operationLabel")); //$NON-NLS-1$ addContext(context); } @@ -592,7 +592,7 @@ * @param context the undo context for this command * @since 3.1 */ - CompoundTextCommand(IUndoContext context) { + this(IUndoContext context) { super(context); } @@ -990,7 +990,7 @@ * * @param undoLevel the length of this manager's history */ - public DefaultUndoManager(int undoLevel) { + public this(int undoLevel) { fHistory= OperationHistoryFactory.getOperationHistory(); setMaximalUndoLevel(undoLevel); }