mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -248,6 +248,7 @@ libraryLicense(name: "Cucumber-Groovy", libraryName: "cucumber-groovy", version:
|
||||
libraryLicense(name: "proxy-vole", libraryName: "proxy-vole", version: "20120920", license: "New BSD License", url: "http://code.google.com/p/proxy-vole/", licenseUrl: "http://opensource.org/licenses/BSD-3-Clause")
|
||||
libraryLicense(name: "Rhino JavaScript Engine", libraryName: "rhino-js-1_7R4", version: "1.7R4", license: "MPL 1.1", url: "http://www.mozilla.org/rhino/", licenseUrl: "http://www.mozilla.org/MPL/MPL-1.1.html")
|
||||
libraryLicense(name: "asm-4.0-all", libraryName: "asm-4.0-all", version: "4.0", attachedTo: "ByteCodeViewer", license: "BSD", url: "http://asm.objectweb.org/", licenseUrl: "http://asm.objectweb.org/license.html")
|
||||
libraryLicense(name: "jsr305", libraryName: "jsr305", version: "snapshot", license: "BSD", url: "http://code.google.com/p/jsr-305/", licenseUrl: "http://code.google.com/p/jsr-305/source/browse/trunk/ri/LICENSE")
|
||||
jetbrainsLibrary("JPS")
|
||||
jetbrainsLibrary("Maven Embedder")
|
||||
jetbrainsLibrary("tcServiceMessages")
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@ public class GroovyCodeFragmentFactory extends CodeFragmentFactory {
|
||||
javaText.append(
|
||||
"if (java.util.Arrays.toString(new Exception().getStackTrace()).matches(\"\\\\[([^,()]+\\\\$\\\\$)[A-Za-z0-9]{8}(\\\\.[^,()]+)\\\\(")
|
||||
.append(s)
|
||||
.append(":\\\\d+\\\\), (\\\\1[A-Za-z0-9]{8}\\\\2\\\\(Unknown Source\\\\), $OR$.+(?:com|org)\\\\.springsource\\\\.loaded\\\\.).+\")) {\n");
|
||||
.append(":\\\\d+\\\\), (\\\\1[A-Za-z0-9]{8}\\\\2\\\\(Unknown Source\\\\), $OR$.+(?:com$OR$org)\\\\.springsource\\\\.loaded\\\\.).+\")) {\n");
|
||||
javaText.append(" |thiz0 = thiz;\n");
|
||||
javaText.append(" } else {\n");
|
||||
javaText.append(" |thiz0 = this;\n");
|
||||
|
||||
@@ -204,7 +204,7 @@ public class HgCachingCommitedChangesProvider implements CachingCommittedChanges
|
||||
if (changeBrowserSettings != null) {
|
||||
args = new ArrayList<String>();
|
||||
if (changeBrowserSettings.USE_CHANGE_AFTER_FILTER) {
|
||||
args.add("-r " + changeBrowserSettings.getChangeAfterFilter() + ":");
|
||||
args.add("-r tip:" + changeBrowserSettings.getChangeAfterFilter());
|
||||
}
|
||||
}
|
||||
final List<HgFileRevision> localRevisions;
|
||||
|
||||
+5
-5
@@ -418,11 +418,11 @@ public class MavenModuleImporter {
|
||||
|
||||
String encoding = myMavenProject.getEncoding();
|
||||
if (encoding != null) {
|
||||
try {
|
||||
EncodingProjectManager.getInstance(myModule.getProject()).setEncoding(myMavenProject.getDirectoryFile(), Charset.forName(encoding));
|
||||
}
|
||||
catch (UnsupportedCharsetException ignored) {/**/}
|
||||
catch (IllegalCharsetNameException ignored) {/**/}
|
||||
//try {
|
||||
// EncodingProjectManager.getInstance(myModule.getProject()).setEncoding(myMavenProject.getDirectoryFile(), Charset.forName(encoding));
|
||||
//}
|
||||
//catch (UnsupportedCharsetException ignored) {/**/}
|
||||
//catch (IllegalCharsetNameException ignored) {/**/}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ package com.intellij.lang.properties;
|
||||
import com.intellij.lang.annotation.HighlightSeverity;
|
||||
import com.intellij.lang.properties.parsing.PropertiesTokenTypes;
|
||||
import com.intellij.lexer.Lexer;
|
||||
import com.intellij.openapi.editor.DefaultLanguageHighlighterColors;
|
||||
import com.intellij.openapi.editor.SyntaxHighlighterColors;
|
||||
import com.intellij.openapi.editor.colors.TextAttributesKey;
|
||||
import com.intellij.openapi.fileTypes.SyntaxHighlighterBase;
|
||||
@@ -44,30 +45,30 @@ public class PropertiesHighlighter extends SyntaxHighlighterBase {
|
||||
|
||||
public static final TextAttributesKey PROPERTY_KEY = TextAttributesKey.createTextAttributesKey(
|
||||
"PROPERTIES.KEY",
|
||||
SyntaxHighlighterColors.KEYWORD.getDefaultAttributes()
|
||||
DefaultLanguageHighlighterColors.KEYWORD
|
||||
);
|
||||
|
||||
public static final TextAttributesKey PROPERTY_VALUE = TextAttributesKey.createTextAttributesKey(
|
||||
"PROPERTIES.VALUE",
|
||||
SyntaxHighlighterColors.STRING.getDefaultAttributes()
|
||||
DefaultLanguageHighlighterColors.STRING
|
||||
);
|
||||
|
||||
public static final TextAttributesKey PROPERTY_COMMENT = TextAttributesKey.createTextAttributesKey(
|
||||
"PROPERTIES.LINE_COMMENT",
|
||||
SyntaxHighlighterColors.LINE_COMMENT.getDefaultAttributes()
|
||||
DefaultLanguageHighlighterColors.LINE_COMMENT
|
||||
);
|
||||
|
||||
public static final TextAttributesKey PROPERTY_KEY_VALUE_SEPARATOR = TextAttributesKey.createTextAttributesKey(
|
||||
"PROPERTIES.KEY_VALUE_SEPARATOR",
|
||||
SyntaxHighlighterColors.OPERATION_SIGN.getDefaultAttributes()
|
||||
DefaultLanguageHighlighterColors.OPERATION_SIGN
|
||||
);
|
||||
public static final TextAttributesKey PROPERTIES_VALID_STRING_ESCAPE = TextAttributesKey.createTextAttributesKey(
|
||||
"PROPERTIES.VALID_STRING_ESCAPE",
|
||||
SyntaxHighlighterColors.VALID_STRING_ESCAPE.getDefaultAttributes()
|
||||
DefaultLanguageHighlighterColors.VALID_STRING_ESCAPE
|
||||
);
|
||||
public static final TextAttributesKey PROPERTIES_INVALID_STRING_ESCAPE = TextAttributesKey.createTextAttributesKey(
|
||||
"PROPERTIES.INVALID_STRING_ESCAPE",
|
||||
SyntaxHighlighterColors.INVALID_STRING_ESCAPE.getDefaultAttributes()
|
||||
DefaultLanguageHighlighterColors.INVALID_STRING_ESCAPE
|
||||
);
|
||||
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user