LiveCode file edit issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
LiveCode file edit issue
Hi all,
I can not edit my stack, can not write code on my stack. Anyone knows why it can be happen? And what I can do?
I can not edit my stack, can not write code on my stack. Anyone knows why it can be happen? And what I can do?
-
- Livecode Staff Member
- Posts: 861
- Joined: Fri Feb 06, 2015 4:03 pm
Re: LiveCode file edit issue
Hi Armenhui,
I would suggest deleting your Prefs. On OS X they are located in /Users/your_user_name/Library/Preferences/RunRev/ folder.
You should see one or two files there:
livecode.rev --> Prefs for LiveCode versions < 7
livecode7.rev --> Prefs for LiveCode 7 and 8
1. Quit LC
2. Remove those 2 files from this folder. Those files will be re-generated once you start LiveCode again.
3. Start LC
4. Try to edit your stack now
I would suggest deleting your Prefs. On OS X they are located in /Users/your_user_name/Library/Preferences/RunRev/ folder.
You should see one or two files there:
livecode.rev --> Prefs for LiveCode versions < 7
livecode7.rev --> Prefs for LiveCode 7 and 8
1. Quit LC
2. Remove those 2 files from this folder. Those files will be re-generated once you start LiveCode again.
3. Start LC
4. Try to edit your stack now
Re: LiveCode file edit issue
Hi Armenuhi,
did someone, not you, eventually check "cantmodify" in the inspector for that stack?
Or is it "protected" on a system level?
e.g. I can check "Protected" on my Mac for a file in the INFO for that file.
best
Klaus
did someone, not you, eventually check "cantmodify" in the inspector for that stack?

Or is it "protected" on a system level?
e.g. I can check "Protected" on my Mac for a file in the INFO for that file.
best
Klaus
Re: LiveCode file edit issue
Thanks, I try two options which you said but the result was same, I can not edit the stack.

-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: LiveCode file edit issue
Perhaps the style property of the stack has been changed from topLevel to modeless?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: LiveCode file edit issue
I've seen something similar when LC gets stuck in an infinite loop in one of its IDE handlers. There may be something in your script that causes that. If none of the other suggestions work, try launching LC and clicking the Messages icon in the toolbar, which turns off your scripts. Then use the File menu to open the stack.
If the stack is editable now, something in your script is causing the IDE to think it's in debug mode when it isn't.
Another thing to try is to hold down cmd-period (ctrl-period on Windows) when the stack stops working. If that clears the problem there may be a bug in the IDE. I've only seen this twice and I don't have a recipe for it yet, but if it's reproducible for you the team would probably want to see your stack.
If the stack is editable now, something in your script is causing the IDE to think it's in debug mode when it isn't.
Another thing to try is to hold down cmd-period (ctrl-period on Windows) when the stack stops working. If that clears the problem there may be a bug in the IDE. I've only seen this twice and I don't have a recipe for it yet, but if it's reproducible for you the team would probably want to see your stack.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com