1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Getting file content even if it is out of sync, bug 258151.

This commit is contained in:
Markus Schorn 2008-12-10 11:12:13 +00:00
parent f0c0936852
commit cec0ba6d45

View file

@ -62,7 +62,7 @@ public class InternalParserUtil extends ParserFactory {
*/
public static CodeReader createWorkspaceFileReader(String path, IFile file) throws CoreException, IOException{
path = normalizePath(path, file);
InputStream in= file.getContents();
InputStream in= file.getContents(true);
try {
return new CodeReader(path, file.getCharset(), in);
} finally {