Re: Preventing the same file from being opened more than once

Thomas Orgis <[email protected]> Mon, 21 Mar 2011 13:35:36 +0100
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
--===============8214456421821285828==
Content-Type: multipart/signed; micalg=PGP-SHA1;
	boundary="Sig_/nkcI=gC4LX7YY.D_wxoLiQD";
	protocol="application/pgp-signature"

--Sig_/nkcI=gC4LX7YY.D_wxoLiQD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Mon, 21 Mar 2011 11:34:31 -0000
schrieb "Henderson, Peter (SELEX GALILEO, UK)" <peter.henderson@selexgalile=
o.com>:=20

> Hi,
> =20
> Is there a way please, to set NEdit up so that if you try to open up the
> same file twice the user will receive a warning or it will prevent them
> from doing so.

When you use the nedit client to open the file (`nc file.txt` instead of `n=
edit file.txt`, "nc" might be "nedit-nc" or "ncl"), the corresponding insta=
nce of nedit opens a file only once. When only using "nedit" itself, as a s=
eparate instance for each file, I don't see a practical way to achieve this.


Alrighty then,

Thomas.



--Sig_/nkcI=gC4LX7YY.D_wxoLiQD
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk2HRhgACgkQm0xSvNRG1SS3oQCfQti68UnZa7X8AbxJDJIv4Jkr
jukAn25rXb1R1AN6kQgLe/RtpAFwxRDn
=bKvA
-----END PGP SIGNATURE-----

--Sig_/nkcI=gC4LX7YY.D_wxoLiQD--

--===============8214456421821285828==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss

--===============8214456421821285828==--