How can I check one file(IFile) is saved or not?There is one method in IOpenable interface for checking saved or not.But in this case how can I get IOpenable from IFile?
How can I check one file( IFile ) is saved or not?There is one
Share
Assuming everyone is well-behaved, you can try using
FileBuffers.getTextFileBufferManager().getFileBuffer(...)and then check the obtained buffer(s) withIFileBuffer.isDirty().