|
From: Oliver R. <ol...@ru...> - 2002-11-15 14:21:05
|
----- Original Message ----- From: "Richard Urwin" <RU...@SR...> To: <us...@je...> Sent: Friday, November 15, 2002 3:45 AM Subject: [ jEdit-users ] toggle-readonly macro not as good as it used to be > I am using the enclosed macro to toggle the read-only state of a buffer. > When I first started using it, some releases ago, it worked immediately. > Now (4.1pre5) it requires me to select another buffer and then go back, > or to reload the current buffer, before the new file state is mirrored > by the buffer state. > > Is there anything I can add to the macro to get the buffer state to > change immediately? I think I've fixed this. Please try the version at the URL below. http://www.rutherfurd.net/jEdit/macros/Toggle_ReadOnly.bsh Please let me know if this does't work for you. I've submitted a request to community.jedit.org to referer to the new version. -Ollie |