Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2009 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 64-69
Link Here
|
64 |
|
64 |
|
65 |
/** |
65 |
/** |
66 |
* Applies a text edit to the compilation unit's buffer. |
66 |
* Applies a text edit to the compilation unit's buffer. |
|
|
67 |
* <p> |
68 |
* Note that the edit is simply applied to the compilation unit's buffer. |
69 |
* In particular the undo edit is not grouped with previous undo edits |
70 |
* if the buffer doesn't implement {@link IBuffer.ITextEditCapability}. |
71 |
* If it does, the exact semantics for grouping undo edit depends |
72 |
* on how {@link IBuffer.ITextEditCapability#applyTextEdit(TextEdit, IProgressMonitor)} |
73 |
* is implemented. |
74 |
* </p> |
67 |
* |
75 |
* |
68 |
* @param edit the edit to apply |
76 |
* @param edit the edit to apply |
69 |
* @param monitor the progress monitor to use or <code>null</code> if no progress should be reported |
77 |
* @param monitor the progress monitor to use or <code>null</code> if no progress should be reported |