Readonly Editors Mode - plugin detail

This module controls the editable property of the text editors.

NetBeans Plugin - Readonly Editors Mode
Plugin owner: sandipchitale
Website: http://blogs.sun.com/scblog
Added: 2008-05-30
License: CDDL
Category: Editing
Downloaded: 677 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.02 MB   Last Update: 2008-06-02

What's new in this version



Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

This module controls the editable property of the text editors. The initial state of the editable property of text editor is controlled by the Tools:Options:Miscellaneous:Read Only Editors Mode:Open editors in read-only mode option. The user can toggle the read-only mode using the editor toolbar action (button with open/closed lock icon). The default key binding for the toggle action is CTRL+R. There is an escape hack to override the key binding by setting the system property to a string toggle-read-only="F1". The string value is parsed using javax.swing.KeyStroke.getKeyStroke(String). You can set the system property using the -J-Dtoggle-read-only="F1" command line option or by setting it in the .../etc/netbeans.conf.

[ You have to be logged in to be able to comment. ]

User Comments

  

Not compatible

It's not compatible with Netbeans IDE 6.9.1. The installer complains about Editor Library 2.10 being older than 1.25.
Posted by kAlvaro on Nov 10, 2010
  

RE: Can a read-only file be made editable?

The intent of this plug-in was only to make the editor read-only or not to prevent accidentally editing a file that was otherwise editable.
Posted by sandipchitale on Feb 24, 2009
  

Can a read-only file be made editable?

I read there is discussion and a bug filed for making a file writable by changing the read-only attribute on the file system. Is there a chance that this plugin can do that as well as changing a file to read only?
Posted by netsanjaybeans on Feb 24, 2009
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo