mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-21 10:26:20 +00:00
fix: change chat response editor type to 'Untyped' (fixes #832)
This commit is contained in:
parent
169496ab06
commit
2d7a1d73e3
1 changed files with 4 additions and 3 deletions
|
|
@ -40,9 +40,10 @@ object EditorUtil {
|
|||
)
|
||||
val editorFactory = EditorFactory.getInstance()
|
||||
val document = editorFactory.createDocument(code)
|
||||
val editor= editorFactory
|
||||
.createEditor(document, project, lightVirtualFile, true, EditorKind.MAIN_EDITOR)
|
||||
(editor as EditorEx).backgroundColor = service<EditorColorsManager>().globalScheme.defaultBackground
|
||||
val editor = editorFactory
|
||||
.createEditor(document, project, lightVirtualFile, true, EditorKind.UNTYPED)
|
||||
(editor as EditorEx).backgroundColor =
|
||||
service<EditorColorsManager>().globalScheme.defaultBackground
|
||||
return editor
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue