mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added 3 options to spellchecker: whether inspect code/literals/comments
This commit is contained in:
+3
-3
@@ -229,9 +229,9 @@ public class SpellCheckingInspection extends LocalInspectionTool {
|
||||
@Override
|
||||
public JComponent createOptionsPanel() {
|
||||
final Box verticalBox = Box.createVerticalBox();
|
||||
verticalBox.add(new SingleCheckboxOptionsPanel("Process code", this, "processCode"));
|
||||
verticalBox.add(new SingleCheckboxOptionsPanel("Process literals", this, "processLiterals"));
|
||||
verticalBox.add(new SingleCheckboxOptionsPanel("Process comments", this, "processComments"));
|
||||
verticalBox.add(new SingleCheckboxOptionsPanel(SpellCheckerBundle.message("process.code"), this, "processCode"));
|
||||
verticalBox.add(new SingleCheckboxOptionsPanel(SpellCheckerBundle.message("process.literals"), this, "processLiterals"));
|
||||
verticalBox.add(new SingleCheckboxOptionsPanel(SpellCheckerBundle.message("process.comments"), this, "processComments"));
|
||||
final JPanel panel = new JPanel(new BorderLayout());
|
||||
panel.add(verticalBox, BorderLayout.NORTH);
|
||||
return panel;
|
||||
|
||||
@@ -22,4 +22,7 @@ add.new.word=Add new word
|
||||
entered.word.0.is.mixed.cased.you.must.enter.simple.word=Entered word {0} is mixed cased. You must enter simple word
|
||||
entered.word.0.is.correct.you.no.need.to.add.this.in.list=Entered word {0} is correct. You no need to add this in list.
|
||||
no.suggestions=<no suggestion>
|
||||
process.code=Process code:
|
||||
process.literals=Process literals:
|
||||
process.comments=Process comments:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user