[ui] disabling in-place TODO case-sensitivity toggle to avoid subsequents serialization errors (IJPL-19296)

GitOrigin-RevId: c0ebf77e1cc8d2b89cbc2907be42eccf5972903d
This commit is contained in:
Roman Shevchenko
2024-08-08 20:47:28 +02:00
committed by intellij-monorepo-bot
parent d165bd12df
commit 665b70894a
2 changed files with 2 additions and 24 deletions

View File

@@ -1,19 +1,4 @@
/*
* Copyright 2000-2009 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.todo.configurable;
import com.intellij.ide.IdeBundle;
@@ -58,11 +43,6 @@ final class PatternsTableModel extends AbstractTableModel implements ItemRemovab
return myPatterns.size();
}
@Override
public boolean isCellEditable(int rowIndex, int columnIndex) {
return columnIndex == 1;
}
@Override
public Object getValueAt(int row,int column){
TodoPattern pattern=myPatterns.get(row);

View File

@@ -1,5 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ide.todo.configurable;
import com.intellij.ide.IdeBundle;
@@ -153,7 +152,6 @@ public class TodoConfigurable implements SearchableConfigurable, Configurable.No
todoCaseSensitiveColumn.setPreferredWidth(caseSensitiveColumnWidth);
todoCaseSensitiveColumn.setMinWidth(caseSensitiveColumnWidth);
todoCaseSensitiveColumn.setCellRenderer(new BooleanTableCellRenderer());
todoCaseSensitiveColumn.setCellEditor(new BooleanTableCellEditor());
// Column "Pattern"
TodoPatternTableCellRenderer todoPatternRenderer = new TodoPatternTableCellRenderer(myPatterns);