IDEA-140821 Increase the number of "back" navigations possible

This commit is contained in:
Dmitry Batrak
2015-06-09 14:52:01 +03:00
parent 27594dbcb7
commit 8c289efab9
2 changed files with 6 additions and 2 deletions
@@ -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