mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup some unused console & registry parts
This commit is contained in:
@@ -64,7 +64,6 @@ import com.intellij.openapi.project.DumbAwareAction;
|
||||
import com.intellij.openapi.project.DumbService;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.*;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.psi.search.GlobalSearchScope;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
@@ -138,7 +137,6 @@ public class ConsoleViewImpl extends JPanel implements ConsoleView, ObservableCo
|
||||
// Should be accessed in EDT only.
|
||||
@SuppressWarnings("FieldAccessedSynchronizedAndUnsynchronized")
|
||||
private boolean myDocumentClearing;
|
||||
private int consoleTooMuchTextBufferRatio;
|
||||
|
||||
public Editor getEditor() {
|
||||
return myEditor;
|
||||
@@ -323,8 +321,6 @@ public class ConsoleViewImpl extends JPanel implements ConsoleView, ObservableCo
|
||||
myInputMessageFilter = null;
|
||||
}
|
||||
|
||||
consoleTooMuchTextBufferRatio = Registry.intValue("console.too.much.text.buffer.ratio");
|
||||
|
||||
project.getMessageBus().connect(this).subscribe(DumbService.DUMB_MODE, new DumbService.DumbModeListener() {
|
||||
private long myLastStamp;
|
||||
|
||||
@@ -786,10 +782,6 @@ public class ConsoleViewImpl extends JPanel implements ConsoleView, ObservableCo
|
||||
return myLastStickingToEnd;
|
||||
}
|
||||
|
||||
private boolean isTheAmountOfTextTooBig(final int textLength) {
|
||||
return myBuffer.isUseCyclicBuffer() && textLength > myBuffer.getCyclicBufferSize() / consoleTooMuchTextBufferRatio;
|
||||
}
|
||||
|
||||
private void clearHyperlinkAndFoldings() {
|
||||
myEditor.getMarkupModel().removeAllHighlighters();
|
||||
|
||||
|
||||
@@ -606,12 +606,6 @@ emmet.segments.limit=50
|
||||
emmet.template.length.limit.kilobytes=15
|
||||
command.line.execution.timeout=30
|
||||
|
||||
console.ui.cycle.buffer.size=Default
|
||||
console.too.much.text.buffer.ratio=10
|
||||
console.too.much.text.buffer.ratio.description=Used for disabling of console processing (console filters for highlights, foldings...),\n\
|
||||
when there is too much text to process.\n\
|
||||
The ratio is used against the console cycle buffer size (idea.cycle.buffer.size/theRatio=maxTextLength).
|
||||
|
||||
ide.settings.keymap.input.method.enabled=false
|
||||
ide.settings.keymap.input.method.enabled.description=Use input method instead of simple key event to enter shortcuts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user