[full-line] ML-3924 Add chunks from the most recent caret positions

GitOrigin-RevId: d2d34ab1d192fbb6ed0c6ec555eb4e7a9dda055e
This commit is contained in:
Igor.Davidenko
2024-09-12 17:06:56 +02:00
committed by intellij-monorepo-bot
parent 54eaccabd8
commit 7bfdb60f9f
2 changed files with 4 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ public abstract class IdeDocumentHistory {
public abstract List<IdeDocumentHistoryImpl.PlaceInfo> getChangePlaces();
@ApiStatus.Internal
public abstract List<IdeDocumentHistoryImpl.PlaceInfo> getBackPlaces();
@ApiStatus.Internal
public abstract List<IdeDocumentHistoryImpl.PlaceInfo> getForwardPlaces();
@ApiStatus.Internal
public abstract void removeChangePlace(@NotNull IdeDocumentHistoryImpl.PlaceInfo placeInfo);

View File

@@ -455,6 +455,8 @@ open class IdeDocumentHistoryImpl(
final override fun getBackPlaces(): List<PlaceInfo> = java.util.List.copyOf(backPlaces)
final override fun getForwardPlaces(): List<PlaceInfo> = java.util.List.copyOf(forwardPlaces)
final override fun getChangePlaces(): List<PlaceInfo> = java.util.List.copyOf(changePlaces)
final override fun removeBackPlace(placeInfo: PlaceInfo) {