mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-140821 Increase the number of "back" navigations possible
This commit is contained in:
+3
-2
@@ -31,6 +31,7 @@ import com.intellij.openapi.fileEditor.ex.FileEditorManagerEx;
|
||||
import com.intellij.openapi.fileEditor.ex.IdeDocumentHistory;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Pair;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.vfs.*;
|
||||
import com.intellij.openapi.wm.ToolWindowManager;
|
||||
import gnu.trove.THashSet;
|
||||
@@ -48,8 +49,8 @@ import java.util.*;
|
||||
public class IdeDocumentHistoryImpl extends IdeDocumentHistory implements ProjectComponent, PersistentStateComponent<IdeDocumentHistoryImpl.RecentlyChangedFilesState> {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl");
|
||||
|
||||
private static final int BACK_QUEUE_LIMIT = 25;
|
||||
private static final int CHANGE_QUEUE_LIMIT = 25;
|
||||
private static final int BACK_QUEUE_LIMIT = Registry.intValue("editor.navigation.history.stack.size");
|
||||
private static final int CHANGE_QUEUE_LIMIT = Registry.intValue("editor.navigation.history.stack.size");
|
||||
|
||||
private final Project myProject;
|
||||
|
||||
|
||||
@@ -138,6 +138,9 @@ editor.durable.folding.state.description=If set, collapsed fold regions will pre
|
||||
editor.soft.wrap.force.limit=10000
|
||||
editor.soft.wrap.force.limit.description=If document contains lines longer than this value, soft wraps will be forcibly enabled in editor due to performance reasons
|
||||
|
||||
editor.navigation.history.stack.size=25
|
||||
editor.navigation.history.stack.size.description=Stack size limit for back/forward and last/next edit location navigation
|
||||
|
||||
ide.showIndexRebuildMessage=false
|
||||
|
||||
ide.tabbedPane.bufferedPaint=true
|
||||
|
||||
Reference in New Issue
Block a user