mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added "line", "col" clarification as proposed by Alexey Kudravtsev, since IDEA developers are used to old format.
This commit is contained in:
@@ -613,7 +613,7 @@ public class ExpectedHighlightingData {
|
||||
int startCol = startOffset - StringUtil.lineColToOffset(text, startLine, 0);
|
||||
int endCol = endOffset - StringUtil.lineColToOffset(text, endLine, 0);
|
||||
|
||||
return "(" + (startLine + 1) + ", " + (startCol + 1) + ")" + "-" +
|
||||
"(" + (endLine + 1) + ", " + (endCol + 1) + ")";
|
||||
return "(line: " + (startLine + 1) + "; col: " + (startCol + 1) + ")" + " - " +
|
||||
"(line: " + (endLine + 1) + "; col: " + (endCol + 1) + ")";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user