Community
Participate
Working Groups
Calling ISourceManipulation.delete results in a BufferChangeEvent indicating a complete substituation of the buffer's content. Expected behavior: deletion of the according source range. NOTES: DW (7/26/00 10:43:12 AM) This is because we use the JDOM to implement delete. We create a JDOM, remove nodes, and then replace the buffer with the content of the resulting JDOM. This makes our operations work nice, so I am not yet sure how to solve the buffer event problem. JBL (6/19/2001 2:51:33 PM) Need to implement the same mechanism as CreateElementInCUOperation (see executeOperation() that uses the fInsertionPosition)
PRODUCT VERSION: IBM Tooling Platform Java Model [0.1 071800H17 vame]
Fixed by using replace(...) on the buffer instead of setContent.