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:
parent
f0c0936852
commit
cec0ba6d45
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public class InternalParserUtil extends ParserFactory {
|
||||||
*/
|
*/
|
||||||
public static CodeReader createWorkspaceFileReader(String path, IFile file) throws CoreException, IOException{
|
public static CodeReader createWorkspaceFileReader(String path, IFile file) throws CoreException, IOException{
|
||||||
path = normalizePath(path, file);
|
path = normalizePath(path, file);
|
||||||
InputStream in= file.getContents();
|
InputStream in= file.getContents(true);
|
||||||
try {
|
try {
|
||||||
return new CodeReader(path, file.getCharset(), in);
|
return new CodeReader(path, file.getCharset(), in);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Add table
Reference in a new issue