mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use actual (maybe unsaved) psi text for find usages (EA-49575)
This commit is contained in:
@@ -148,7 +148,7 @@ public class LowLevelSearchUtil {
|
||||
if (progress != null) progress.checkCanceled();
|
||||
|
||||
PsiFile file = scope.getContainingFile();
|
||||
final CharSequence buffer = file.getViewProvider().getContents();
|
||||
final CharSequence buffer = file.getText();
|
||||
|
||||
TextRange range = scope.getTextRange();
|
||||
if (range == null) {
|
||||
|
||||
Reference in New Issue
Block a user