From 76532b1c06c60d9d756d9f3262e512f6b0ec4e82 Mon Sep 17 00:00:00 2001 From: rcmdnk Date: Thu, 26 Sep 2024 00:47:49 +0900 Subject: [PATCH] fix: fix multiline in MsgBox --- lib/vim_check.ahk | 6 ++++-- lib/vim_state.ahk | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/vim_check.ahk b/lib/vim_check.ahk index 431699d..44309df 100644 --- a/lib/vim_check.ahk +++ b/lib/vim_check.ahk @@ -12,14 +12,16 @@ win_class := WinGetClass("ahk_pid " process) title := WinGetTitle("ahk_pid " process) if(this.Vim.IsVimGroup()){ - MsgBox("( + MsgBox(" + ( Supported Process name: %name% Class : %win_class% Title : %title% )", "Vim Ahk", "Iconi") }else{ - MsgBox("( + MsgBox(" + ( Not supported Process name: %name% Class : %win_class% diff --git a/lib/vim_state.ahk b/lib/vim_state.ahk index f60abf0..a2cfe15 100644 --- a/lib/vim_state.ahk +++ b/lib/vim_state.ahk @@ -32,7 +32,8 @@ this.SetTooltip(this.Mode "`r`ng=" this.g "`r`nn=" this.n "`r`nLineCopy=" this.LineCopy, 4) } if(verbose >= 4){ - MsgBox("( + MsgBox(" + ( Mode : %this.Mode% Vim_g : %this.g% Vim_n : %this.n% @@ -161,7 +162,8 @@ )") } }catch ValueError as e{ - MsgBox("( + MsgBox(" + ( Warning: %e.Message% %e.Extra%