Discussion:
Preventing the same file from being opened more than once
Henderson, Peter (SELEX GALILEO, UK)
2011-03-21 11:34:31 UTC
Permalink
Hi,

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.
I'm thinking of a scenario where NEdit opens after clicking on a block
in a diagram. The user may click this block, opening the editor twice
without realising so. I understand that the second copy is marked as
such, but my users do not feel this goes far enough.

Many thanks

Peter

SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Thomas Orgis
2011-03-21 12:35:36 UTC
Permalink
Am Mon, 21 Mar 2011 11:34:31 -0000
Post by Henderson, Peter (SELEX GALILEO, UK)
Hi,
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 `nedit file.txt`, "nc" might be "nedit-nc" or "ncl"), the corresponding instance of nedit opens a file only once. When only using "nedit" itself, as a separate instance for each file, I don't see a practical way to achieve this.


Alrighty then,

Thomas.
Henderson, Peter (SELEX GALILEO, UK)
2011-03-21 13:04:09 UTC
Permalink
Hi,

Ok thanks. Thank you for your quick response

Peter

-----Original Message-----
From: discuss-bounces-***@public.gmane.org [mailto:discuss-bounces-***@public.gmane.org] On
Behalf Of Thomas Orgis
Sent: 21 March 2011 12:36
To: discuss-***@public.gmane.org
Subject: Re: Preventing the same file from being opened more than once

Am Mon, 21 Mar 2011 11:34:31 -0000
schrieb "Henderson, Peter (SELEX GALILEO, UK)"
Post by Henderson, Peter (SELEX GALILEO, UK)
Hi,
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
`nedit file.txt`, "nc" might be "nedit-nc" or "ncl"), the corresponding
instance of nedit opens a file only once. When only using "nedit"
itself, as a separate instance for each file, I don't see a practical
way to achieve this.


Alrighty then,

Thomas.


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Continue reading on narkive:
Loading...