You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's a code in the language inhection processor that always reconstructs the text range from the edited element.
The reason for that behavior is unclear. Ideally, we should use the passed text range and not rely on the whole content. Perhaps we can act in a more optimal way.
// val newString = oldText.substring(0, range.startOffset) + escapeString(element, newContent) + oldText.substring(range.endOffset)//todo fix range to use it from parameter
Also, look for the number of this issue in the project code base.
The text was updated successfully, but these errors were encountered:
Currently, there's a code in the language inhection processor that always reconstructs the text range from the edited element.
The reason for that behavior is unclear. Ideally, we should use the passed text range and not rely on the whole content. Perhaps we can act in a more optimal way.
See the code near this line:
intellij-powershell/src/main/kotlin/com/intellij/plugin/powershell/ide/injection/PowerShellStringManipulator.kt
Line 20 in baccc65
Also, look for the number of this issue in the project code base.
The text was updated successfully, but these errors were encountered: