Bug 42267 - Text Editor does not edit
Summary: Text Editor does not edit
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2003-08-29 14:29 EDT by Aditya Muralidharan CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aditya Muralidharan CLA 2003-08-29 14:29:21 EDT
I'm running eclipse on JDK1.3.1_08 for Windows XP. No matter which file I open 
in the Text Editor, it will not edit the file when I try typing something in 
the editor view. I've checked and double-checked that none of these files is 
read-only. There's plenty of room on the drive. The Java editor works fine. 
I've restarted the platform several times. Other people in my group only have 
this problem intermittently, and it goes away when they restart eclipse, but 
mine just won't edit. I have to use an external editor if I wish to edit 
anything that won't open in the java editor.
Comment 1 Kai-Uwe Maetzel CLA 2003-09-01 03:56:57 EDT
What build are your using? What do you exactly mean by "won't edit"? Thanks.
Comment 2 Aditya Muralidharan CLA 2003-09-02 10:48:19 EDT
Thanks for your reply.

I'm using:

Version: 2.1.1
Build id: 200306271545

The process of editing a text file involves:

1) Opening the file in the text editor. E.g. right-click on x.txt and click on 
Open With-> Text Editor. This opens up the text editor with the file.
2) Selecting the location where you would like to edit the file in text editor 
view. E.g. click on line 10 column 1. This moves the cursor to the position 
where you would like to insert text.
3) Start typing the stuff you want to add to the file. This will, ideally echo 
the letters you type in the text editor, and there will be an asterisk next to 
the file to notify the user that the file has changed.

In my situation when I start typing (i.e. step 3), no letters are echoed, and 
nothing about the file state is changed. It is as if the editor thinks that the 
file is read-only, even though it is definitely not read-only, effectively 
making the Text Editor more like a Text Viewer.

Please let me know if I can help further.
Comment 3 Tom Hofmann CLA 2003-09-22 09:23:01 EDT
Are you using a versioning tool like clear case or CVS? Sometimes a file will be
read-only when you check it out, and will only become writable when you
explicitly edit the file.
Comment 4 Dani Megert CLA 2003-09-22 09:31:34 EDT
We cannot reproduce this using I20030917. To investigate further please answer
the questions below and reopen when done so.

- Can you still see this behavior using I20030917?
- Are those files shared with a repository? If so, which provider (CVS?).
- Are the files on disk as files or are they maybe in a JAR?
- Is there something written to .log (open the file or use the Error Log view
(PDE Runtime) to see the log entries).
- How is the project setup?
  - are you using linked resources?
  - is the project located on your local drive or on a server (if so what kind
of server OS)
Comment 5 Dani Megert CLA 2007-06-22 09:58:51 EDT
Get rid of deprecated state.
Comment 6 Dani Megert CLA 2007-06-22 10:04:15 EDT
.