mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-34864 - assert: CaretModelImpl.moveToOffset
Typo has been corrected
This commit is contained in:
@@ -385,9 +385,8 @@ public class EditorUtil {
|
||||
|
||||
char c = text.charAt(offset);
|
||||
if (c == '\t') {
|
||||
int prevX = x;
|
||||
final int newX = nextTabStop(x, editorImpl);
|
||||
final int columns = columnsNumber(x - prevX, spaceSize);
|
||||
final int columns = columnsNumber(newX - x, spaceSize);
|
||||
if (debugBuffer != null) {
|
||||
debugBuffer.append(String.format(
|
||||
"Processing tabulation at the offset %d. Current X: %d, new X: %d, current column: %d, new column: %d%n",
|
||||
|
||||
Reference in New Issue
Block a user