mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
consume less memory in spellchecker highlighting messages
This commit is contained in:
@@ -165,7 +165,7 @@ public class SpellCheckingInspection extends LocalInspectionTool {
|
||||
}
|
||||
assert textRange.getStartOffset() >= 0;
|
||||
|
||||
final String description = SpellCheckerBundle.message("typo.in.word.ref", wordWithTypo);
|
||||
final String description = SpellCheckerBundle.message("typo.in.word.ref");
|
||||
return holder.getManager()
|
||||
.createProblemDescriptor(element, textRange, description, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, onTheFly, fixes);
|
||||
}
|
||||
|
||||
@@ -4,18 +4,14 @@ rename.to.0=Typo: Rename to ''{0}''
|
||||
rename.to=Typo: Rename to...
|
||||
spelling=Spelling
|
||||
spellchecking.inspection.name=Typo
|
||||
comments.with.mistakes=Comments with mistakes
|
||||
typo.in.word.ref=Typo: In word ''{0}''
|
||||
typo.in.word.ref=Typo: In word '#ref'
|
||||
add.0.to.dictionary=Typo: Save ''{0}'' to dictionary
|
||||
add.to.dictionary=Save to dictionary
|
||||
class.name.with.mistakes=Class name with mistakes
|
||||
method.name.with.mistakes=Method name with mistakes
|
||||
field.name.with.mistakes=Field name with mistakes
|
||||
xml.with.mistakes=XML with mistakes
|
||||
property.value.with.mistakes=Property value with mistakes
|
||||
string.value.with.mistakes=Literal expression with mistakes
|
||||
local.variable.name.with.mistakes=Local variable name with mistakes
|
||||
doccomment.with.mistakes=Doc comment with mistake
|
||||
user.dictionary=User Dictionary
|
||||
ignored.words=Ignored Words
|
||||
enter.simple.word=Enter word:
|
||||
|
||||
Reference in New Issue
Block a user