mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
setup proper lang console editor type; RUBY-19667 rails console soft wrap action enabled
This commit is contained in:
@@ -137,7 +137,7 @@ public class LanguageConsoleImpl extends ConsoleViewImpl implements LanguageCons
|
||||
myCurrentEditor = myConsoleEditor;
|
||||
Document historyDocument = ((EditorFactoryImpl)editorFactory).createDocument(true);
|
||||
UndoUtil.disableUndoFor(historyDocument);
|
||||
myHistoryViewer = (EditorEx)editorFactory.createViewer(historyDocument, getProject());
|
||||
myHistoryViewer = (EditorEx)editorFactory.createViewer(historyDocument, getProject(), EditorKind.CONSOLE);
|
||||
myHistoryViewer.getDocument().addDocumentListener(myDocumentAdapter);
|
||||
|
||||
myScrollBar.setOpaque(false);
|
||||
|
||||
Reference in New Issue
Block a user