Skip to content

Commit 551c3d0

Browse files
author
Roberto De Ioris
committed
fixed line numbering in the editor
1 parent 6a3f070 commit 551c3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/PythonEditor/Private/SPythonEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ FText SPythonEditor::GetLineAndColumn() const
144144
int32 Column;
145145
PythonEditableText->GetLineAndColumn(Line, Column);
146146

147-
FString LineAndColumn = FString::Printf(TEXT("Line: %d Column: %d"), Line, Column);
147+
FString LineAndColumn = FString::Printf(TEXT("Line: %d Column: %d"), Line + 1, Column);
148148

149149
return FText::FromString(LineAndColumn);
150150
}

0 commit comments

Comments
 (0)