Home
last modified time | relevance | path

Searched refs:DeleteEdit (Results 1 – 25 of 49) sorted by relevance

12

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.text/src/org/eclipse/text/edits/
H A DDeleteEdit.java27 public final class DeleteEdit extends TextEdit { class
35 public DeleteEdit(int offset, int length) { in DeleteEdit() method in DeleteEdit
42 private DeleteEdit(DeleteEdit other) { in DeleteEdit() method in DeleteEdit
48 return new DeleteEdit(this); in doCopy()
H A DTextEditVisitor.java177 public boolean visit(DeleteEdit edit) { in visit()
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/util/
H A DCodeFormatterUtil.java26 import org.eclipse.text.edits.DeleteEdit;
287 } else if (oldEdit instanceof DeleteEdit) { in shifEdit()
288 DeleteEdit edit = (DeleteEdit) oldEdit; in shifEdit()
289 newEdit = new DeleteEdit(edit.getOffset() - diff, edit.getLength()); in shifEdit()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.core/text/org/eclipse/pde/internal/core/text/
H A DAbstractKeyValueTextChangeListener.java19 import org.eclipse.text.edits.DeleteEdit;
54 DeleteEdit edit = new DeleteEdit(key.getOffset(), key.getLength()); in deleteKey()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.text.tests/src/org/eclipse/text/tests/
H A DTextEditTests.java31 import org.eclipse.text.edits.DeleteEdit;
68 DeleteEdit delete= new DeleteEdit(2, 2); in testCovers1()
227 m2.addChild(new DeleteEdit(1,3)); in testUndefinedMultiEdit3()
235 m2.addChild(new DeleteEdit(1,3)); in testUndefinedMultiEdit4()
236 m2.addChild(new DeleteEdit(4, 2)); in testUndefinedMultiEdit4()
244 m2.addChild(new DeleteEdit(4, 2)); in testUndefinedMultiEdit5()
245 m2.addChild(new DeleteEdit(1,3)); in testUndefinedMultiEdit5()
252 DeleteEdit d1= new DeleteEdit(1,3); in testUndefinedMultiEdit6()
440 TextEdit e1= new DeleteEdit(3, 1); in testDelete1()
451 TextEdit e1= new DeleteEdit(4, 1); in testDelete2()
[all …]
H A DDocumentUndoManagerTest.java27 import org.eclipse.text.edits.DeleteEdit;
185 TextEdit e1 = new DeleteEdit(3, 1); in testCompoundTextEdit()
190 TextEdit e2 = new DeleteEdit(3, 1); in testCompoundTextEdit()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/
H A DCodeFormatFix.java24 import org.eclipse.text.edits.DeleteEdit;
139 DeleteEdit edit= new DeleteEdit(j, lineExclusiveEnd - j); in createCleanUp()
152 DeleteEdit edit= new DeleteEdit(j, lineExclusiveEnd - j); in createCleanUp()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/nls/
H A DPropertyFileDocumentModellTest.java23 import org.eclipse.text.edits.DeleteEdit;
289 DeleteEdit deleteEdit= modell.remove("org.eclipse.2"); in removingOfKey()
300 DeleteEdit deleteEdit= modell.remove("org.eclipse.2"); in removingOfKey2()
311 DeleteEdit deleteEdit= modell.remove("org.eclipse.3"); in removingOfLastKey()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.text/src/org/eclipse/jface/text/
H A DRewriteSessionEditProcessor.java17 import org.eclipse.text.edits.DeleteEdit;
49 public boolean visit(DeleteEdit edit) { in visit()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/manipulation/
H A DRemoveTrailingWhitespaceOperation.java27 import org.eclipse.text.edits.DeleteEdit;
69 multiEdit.addChild(new DeleteEdit(j, lineExclusiveEnd - j)); in computeTextEdit()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.core/text/org/eclipse/pde/internal/core/text/plugin/
H A DXMLTextChangeListener.java30 import org.eclipse.text.edits.DeleteEdit;
340 private DeleteEdit getAttributeDeleteEditOperation(int offset, int length) { in getAttributeDeleteEditOperation()
352 return new DeleteEdit(offset, length); in getAttributeDeleteEditOperation()
355 private DeleteEdit getDeleteNodeOperation(IDocumentElementNode node) { in getDeleteNodeOperation()
406 return new DeleteEdit(offset, length); in getDeleteNodeOperation()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/
H A DCreateManifestOperation.java89 return new DeleteEdit(region.getOffset(), region.getLength() + 1); in removeElement()
97 return new DeleteEdit(region.getOffset(), lastPos - region.getOffset()); in removeElement()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/correction/proposals/
H A DEditAnnotator.java17 import org.eclipse.text.edits.DeleteEdit;
84 public boolean visit(DeleteEdit edit) { in visit()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/
H A DSelectionProcessor.java23 import org.eclipse.text.edits.DeleteEdit;
197 return new DeleteEdit(ts.getOffset(), 1);
198 return new DeleteEdit(ts.getOffset(), ts.getLength());
205 return new DeleteEdit(ts.getOffset() - 1, 1);
206 return new DeleteEdit(ts.getOffset(), ts.getLength());
471 return new DeleteEdit(info.getOffset() + startColumn, endColumn - startColumn);
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/context/
H A DXMLInputContext.java231 else if (oldOp instanceof DeleteEdit) in addAttributeOperation()
320 private DeleteEdit getAttributeDeleteEditOperation(int offset, int length) { in getAttributeDeleteEditOperation()
354 return new DeleteEdit(offset, length); in getAttributeDeleteEditOperation()
357 private DeleteEdit getDeleteNodeOperation(IDocumentElementNode node) { in getDeleteNodeOperation()
406 return new DeleteEdit(offset, length); in getDeleteNodeOperation()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/proposals/
H A DCorrectPackageDeclarationProposal.java19 import org.eclipse.text.edits.DeleteEdit;
69 root.addChild(new DeleteEdit(range.getOffset(), range.getLength())); in addEdits()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/
H A DPropertyFileDocumentModel.java23 import org.eclipse.text.edits.DeleteEdit;
127 public DeleteEdit remove(String key) { in remove()
130 return new DeleteEdit(keyValuePair.fOffset, keyValuePair.getLength()); in remove()
H A DNLSSourceModifier.java20 import org.eclipse.text.edits.DeleteEdit;
269 new DeleteEdit(textRegion.getOffset(), textRegion.getLength())); in deleteTag()
314 multiEdit.addChild(new DeleteEdit(tagPosition.getOffset(), tagPosition.getLength())); in addAccessor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/
H A DASTRewriteFormatter.java40 import org.eclipse.text.edits.DeleteEdit;
395 } else if (oldEdit instanceof DeleteEdit) { in shifEdit()
396 DeleteEdit edit= (DeleteEdit) oldEdit; in shifEdit()
397 newEdit= new DeleteEdit(edit.getOffset() - diff, edit.getLength()); in shifEdit()
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/php/
H A DJavaFormatter.java34 import org.eclipse.text.edits.DeleteEdit;
182 TextEdit delete = new DeleteEdit(caretOffset, MARKER.length()); in format()
337 string = edit(string, positions, new DeleteEdit(0, i)); in trimBegin()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/imports/
H A DImportEditor.java29 import org.eclipse.text.edits.DeleteEdit;
526 deleteRemainingTextEdits.add(new DeleteEdit(deletePosition, edit.getOffset() - deletePosition)); in deleteRemainingText()
536 …deleteRemainingTextEdits.add(new DeleteEdit(deletePosition, importRegionEndPosition - deletePositi… in deleteRemainingText()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/textfield/
H A Dtextfield_model.cc72 friend class DeleteEdit;
212 class DeleteEdit : public Edit { class
214 DeleteEdit(bool mergeable, in DeleteEdit() function in views::internal::DeleteEdit
782 auto edit = std::make_unique<internal::DeleteEdit>( in ExecuteAndRecordDelete()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/textfield/
H A Dtextfield_model.cc107 friend class DeleteEdit;
273 class DeleteEdit : public Edit { class
275 DeleteEdit(bool mergeable, in DeleteEdit() function in views::internal::DeleteEdit
915 auto edit = std::make_unique<internal::DeleteEdit>( in ExecuteAndRecordDelete()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/
H A DSmartSemicolonAutoEditStrategy.java20 import org.eclipse.text.edits.DeleteEdit;
166 DeleteEdit smart= new DeleteEdit(position, insertion.length()); in customizeDocumentCommand()
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/
H A DSmartSemicolonAutoEditStrategy.java33 import org.eclipse.text.edits.DeleteEdit;
179 DeleteEdit smart = new DeleteEdit(position, insertion.length()); in customizeDocumentCommand()

12