eclipse-platform / eclipse.platform.text

8 stars 45 forks source link

Make AbstractLineTracker thread safe (#91) #92

Closed iloveeclipse closed 1 year ago

iloveeclipse commented 1 year ago

Change that introduced DocumentRewriteSession was not thread safe.

Code that modified document via set() or replace() in parallel with other thread working in startRewriteSession()/startRewriteSession()/flushRewriteSession() could run in troubles.