isCaseSensitive method

This commit is contained in:
Alexey Kudravtsev
2013-11-27 17:56:23 +04:00
parent e77ddeb6a2
commit a63aaeba22
2 changed files with 10 additions and 1 deletions
@@ -51,4 +51,9 @@ public class XHtmlFileType extends HtmlFileType {
public Icon getIcon() {
return AllIcons.FileTypes.Xhtml;
}
@Override
public boolean isCaseSensitive() {
return true;
}
}
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,4 +42,8 @@ public abstract class XmlLikeFileType extends LanguageFileType {
Charset charset = CharsetToolkit.forName(name);
return charset == null ? CharsetToolkit.UTF8_CHARSET : charset;
}
public boolean isCaseSensitive() {
return false;
}
}