Skip to content

Commit

Permalink
fix project in LanguageTextField
Browse files Browse the repository at this point in the history
  • Loading branch information
arksap2002 committed Sep 6, 2023
1 parent 34df9a1 commit 87c157d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,7 @@ class TestCaseDisplayService(private val project: Project) {

// Add an editor to modify the test source code
val document = EditorFactory.getInstance().createDocument(testCodeFormatted)
val textFieldEditor = LanguageTextField(Language.findLanguageByID("JAVA"), project, testCodeFormatted, false)

textFieldEditor.setOneLineMode(false)
val textFieldEditor = LanguageTextField(Language.findLanguageByID("JAVA"), editor.project, testCodeFormatted, false)

// Add test case title
val middlePanel = JPanel()
Expand Down

0 comments on commit 87c157d

Please sign in to comment.