Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
cbd8dabe
Commit
cbd8dabe
authored
7 years ago
by
Egor Ushakov
Browse files
Options
Download
Email Patches
Plain Diff
IDEA-189423 Unexpected tokens error in multiline condition
parent
7313c0b3
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerEditorBase.java
+2
-2
...c/com/intellij/xdebugger/impl/ui/XDebuggerEditorBase.java
with
2 additions
and
2 deletions
+2
-2
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerEditorBase.java
+
2
-
2
View file @
cbd8dabe
...
...
@@ -7,7 +7,6 @@ import com.intellij.ide.util.PropertiesComponent;
import
com.intellij.lang.Language
;
import
com.intellij.lang.LanguageUtil
;
import
com.intellij.openapi.actionSystem.*
;
import
com.intellij.openapi.application.WriteAction
;
import
com.intellij.openapi.editor.Document
;
import
com.intellij.openapi.editor.Editor
;
import
com.intellij.openapi.editor.FoldRegion
;
...
...
@@ -441,9 +440,10 @@ public abstract class XDebuggerEditorBase implements Expandable {
}
},
KeyStroke
.
getKeyStroke
(
KeyEvent
.
VK_ENTER
,
InputEvent
.
CTRL_MASK
))))
.
setCancelCallback
(()
->
{
setExpression
(
expressionEditor
.
getExpression
());
requestFocusInEditor
();
Editor
baseEditor
=
getEditor
();
if
(
baseEditor
!=
null
)
{
WriteAction
.
run
(()
->
baseEditor
.
getDocument
().
setText
(
expressionEditor
.
getExpression
().
getExpression
()));
foldNewLines
((
EditorEx
)
baseEditor
);
Editor
newEditor
=
expressionEditor
.
getEditor
();
if
(
newEditor
!=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help