File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed
java/net/seesharpsoft/intellij/plugins/csv
test/java/net/seesharpsoft/intellij/plugins/csv/annotation Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1- package net .seesharpsoft .intellij .plugins .csv .annotation ;
1+ package net .seesharpsoft .intellij .plugins .csv .editor ;
22
33import com .intellij .lang .annotation .*;
44import com .intellij .openapi .editor .colors .ColorKey ;
1313import com .intellij .xml .util .XmlStringUtil ;
1414import net .seesharpsoft .intellij .plugins .csv .CsvColumnInfo ;
1515import net .seesharpsoft .intellij .plugins .csv .CsvHelper ;
16- import net .seesharpsoft .intellij .plugins .csv .editor .CsvEditorSettingsExternalizable ;
1716import net .seesharpsoft .intellij .plugins .csv .psi .CsvFile ;
1817import net .seesharpsoft .intellij .plugins .csv .psi .CsvTypes ;
1918import net .seesharpsoft .intellij .plugins .csv .settings .CsvCodeStyleSettings ;
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public class CsvEditorSettingsPanel implements SearchableConfigurable {
1616 private JPanel myMainPanel ;
1717 private JCheckBox cbUseSoftWraps ;
1818 private JCheckBox cbColumnHighlighting ;
19- private JPanel panelHighlighting ;
2019 private CheckBoxWithColorChooser cbTabHighlightColor ;
2120
2221 @ NotNull
@@ -37,6 +36,12 @@ public JComponent createComponent() {
3736 return myMainPanel ;
3837 }
3938
39+ // ensure downward compatibility
40+ @ Override
41+ public boolean isModified (@ NotNull JToggleButton toggleButton , boolean value ) {
42+ return toggleButton .isSelected () != value ;
43+ }
44+
4045 @ Override
4146 public boolean isModified () {
4247 CsvEditorSettingsExternalizable csvEditorSettingsExternalizable = CsvEditorSettingsExternalizable .getInstance ();
Original file line number Diff line number Diff line change 77import com .intellij .openapi .options .colors .ColorSettingsPage ;
88import net .seesharpsoft .intellij .plugins .csv .CsvIconProvider ;
99import net .seesharpsoft .intellij .plugins .csv .CsvLanguage ;
10- import net .seesharpsoft .intellij .plugins .csv .annotation .CsvAnnotator ;
10+ import net .seesharpsoft .intellij .plugins .csv .editor .CsvAnnotator ;
1111import net .seesharpsoft .intellij .plugins .csv .highlighter .CsvSyntaxHighlighter ;
1212import org .jetbrains .annotations .NotNull ;
1313import org .jetbrains .annotations .Nullable ;
Original file line number Diff line number Diff line change 7474 <editorOptionsProvider instance =" net.seesharpsoft.intellij.plugins.csv.editor.CsvEditorSettingsProvider" />
7575 <fileEditorProvider implementation =" net.seesharpsoft.intellij.plugins.csv.editor.CsvFileEditorProvider" />
7676
77- <annotator language =" csv" implementationClass =" net.seesharpsoft.intellij.plugins.csv.annotation .CsvAnnotator" />
77+ <annotator language =" csv" implementationClass =" net.seesharpsoft.intellij.plugins.csv.editor .CsvAnnotator" />
7878
7979 <spellchecker .support language =" csv"
8080 implementationClass =" net.seesharpsoft.intellij.plugins.csv.spellchecker.CsvSpellCheckingStrategy" />
Original file line number Diff line number Diff line change 2121import java .util .Iterator ;
2222import java .util .List ;
2323
24- import static net .seesharpsoft .intellij .plugins .csv .annotation .CsvAnnotator .CSV_COLUMN_INFO_SEVERITY ;
24+ import static net .seesharpsoft .intellij .plugins .csv .editor .CsvAnnotator .CSV_COLUMN_INFO_SEVERITY ;
2525
2626public class CsvAnnotatorTest extends LightCodeInsightFixtureTestCase {
2727
You can’t perform that action at this time.
0 commit comments