Skip to content

Commit

Permalink
fixed int64 debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Mar 25, 2024
1 parent fdc44c9 commit 96478f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/LuaMachine/Private/LuaValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FString FLuaValue::ToString() const
case ELuaValueType::Bool:
return Bool ? FString(TEXT("true")) : FString(TEXT("false"));
case ELuaValueType::Integer:
return FString::FromInt(Integer);
return FString::Printf(TEXT("%lld"), Integer);
case ELuaValueType::Number:
return FString::SanitizeFloat(Number);
case ELuaValueType::String:
Expand Down
2 changes: 2 additions & 0 deletions Source/LuaMachineEditor/Private/LuaMachineEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ void FLuaMachineEditorModule::StartupModule()
StyleSet->Set("SyntaxHighlight.LuaMachine.StdLib", FTextBlockStyle(CodeBaseStyle).SetColorAndOpacity(FLinearColor::Yellow));
StyleSet->Set("SyntaxHighlight.LuaMachine.Basic", FTextBlockStyle(CodeBaseStyle).SetColorAndOpacity(FLinearColor::FromSRGBColor(FColor::Magenta)));

#if ENGINE_MINOR_VERSION >= 3
FSlateStyleRegistry::RegisterSlateStyle(*StyleSet.Get());
#endif

FPropertyEditorModule& PropertyModule = FModuleManager::LoadModuleChecked<FPropertyEditorModule>(TEXT("PropertyEditor"));

Expand Down

0 comments on commit 96478f1

Please sign in to comment.