www.digitalmars.com         C & C++   DMDScript  

c++.dos - Editing Source Code

reply Paul Warren <Paul_member pathlink.com> writes:
Cannot seem to edit source code in the IDDE.  
When I first open a project the source seems to 
be protected and I cannot edit.  However if I open
a new window I can edit. 

Looked in FAQ, lessons but cannot find what I need
to do.  Is there a toggle or something?

Regards


Paul Warren 
Dec 28 2002
parent reply "Walter" <walter digitalmars.com> writes:
Check to see if the source file itself is marked read-only (a file
attribute). Use the win32 ATTRIB command to change the read-only attribute.

"Paul Warren" <Paul_member pathlink.com> wrote in message
news:aulgep$1tvh$1 digitaldaemon.com...
 Cannot seem to edit source code in the IDDE.
 When I first open a project the source seems to
 be protected and I cannot edit.  However if I open
 a new window I can edit.

 Looked in FAQ, lessons but cannot find what I need
 to do.  Is there a toggle or something?

 Regards


 Paul Warren
Dec 28 2002
next sibling parent Paul Warren <Paul_member pathlink.com> writes:
Walter, fixed the problem.  In the Project window
I right clicked the source file, and changed the 
option from "read only" to "read/write".  New it 
was there somewhere!!!

Thanks again for your help. Im impressed with ditialmars
compiler.  Its excellent value for money.

Kind regards

In article <aum9b8$2euh$1 digitaldaemon.com>, Walter says...
Check to see if the source file itself is marked read-only (a file
attribute). Use the win32 ATTRIB command to change the read-only attribute.

"Paul Warren" <Paul_member pathlink.com> wrote in message
news:aulgep$1tvh$1 digitaldaemon.com...
 Cannot seem to edit source code in the IDDE.
 When I first open a project the source seems to
 be protected and I cannot edit.  However if I open
 a new window I can edit.

 Looked in FAQ, lessons but cannot find what I need
 to do.  Is there a toggle or something?

 Regards


 Paul Warren
Dec 29 2002
prev sibling parent "Matthew Wilson" <dmd synesis.com.au> writes:
You can also use the ReadOnly shell extension - available for free from
http://shellext.com - from within the Explorer shell.

Yours blushing with the blatant self-aggrandisement

Matthew

P.S. Happy New Year everyone

"Walter" <walter digitalmars.com> wrote in message
news:aum9b8$2euh$1 digitaldaemon.com...
 Check to see if the source file itself is marked read-only (a file
 attribute). Use the win32 ATTRIB command to change the read-only
attribute.
 "Paul Warren" <Paul_member pathlink.com> wrote in message
 news:aulgep$1tvh$1 digitaldaemon.com...
 Cannot seem to edit source code in the IDDE.
 When I first open a project the source seems to
 be protected and I cannot edit.  However if I open
 a new window I can edit.

 Looked in FAQ, lessons but cannot find what I need
 to do.  Is there a toggle or something?

 Regards


 Paul Warren
Dec 30 2002