Clear read-only status

Hello,

I'm probably missing something really simple but how do I clear the read-only status of a document? I'm invoking fireReadOnlyModificationAttempt() on my document but no dialog pops-up. Do I need to do it in an action?

Thanks for any help.

1 comment

Hello Jean,

JB> I'm probably missing something really simple but how do I clear the
JB> read-only status of a document?

ReadonlyStatusHandler.getInstance().ensureFilesWritable()

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.