Community
Participate
Working Groups
3.1 RC1, Motif, KDE 3.3.2, X.org 6.8.2, Linux 2.6.11 When the properties are opened on a project, both the file encoding and the line delimiter are listed. When the properties are opened on a file, only the file encoding is listed. It would be nice if the line delimiter were listed too.
We would need to open the file to figure this out. This has been mentioned by Text, they would have to supply this information. moving.
That's already possible with Text API: 1. get the file buffer 2. get the document from the file buffer 3. get the line delimiter via TextUtilites.getDefaultLineDelimiter(IDocument) This will give the default LD used by Platform Text. It does not report mixed LDs. For this you'd have to iterate over each line using ILineTracker.getLineDelimiter(int) until mixed LDs are detected or the end of the document is reached.
"As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009"
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.