mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-22 06:21:25 +07:00
fix TextOccurrencesRenamer visibility
GitOrigin-RevId: b846a81d962fc853369b1aa412f3fc2d5ff4a1bc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c75b686c17
commit
1cfa228508
@@ -24,7 +24,7 @@ import java.util.MissingResourceException;
|
||||
@ApiStatus.Internal
|
||||
public final class ShRenameAllOccurrencesHandler extends EditorActionHandler {
|
||||
public static final ShRenameAllOccurrencesHandler INSTANCE = new ShRenameAllOccurrencesHandler();
|
||||
static final Key<TextOccurrencesRenamer> RENAMER_KEY = Key.create("renamer");
|
||||
public static final Key<TextOccurrencesRenamer> RENAMER_KEY = Key.create("renamer");
|
||||
|
||||
private ShRenameAllOccurrencesHandler() {
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
import com.intellij.openapi.util.TextRange;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -15,7 +16,8 @@ import java.util.Collection;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
class TextOccurrencesRenamer {
|
||||
@ApiStatus.Internal
|
||||
public final class TextOccurrencesRenamer {
|
||||
private final Editor myEditor;
|
||||
private final String myOldName;
|
||||
private final List<TextRange> myOccurrences;
|
||||
|
||||
Reference in New Issue
Block a user