Skip to content

Commit

Permalink
fix: fix multiline in MsgBox
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmdnk committed Sep 25, 2024
1 parent ecee981 commit 76532b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions lib/vim_check.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
6 changes: 4 additions & 2 deletions lib/vim_state.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down Expand Up @@ -161,7 +162,8 @@
)")
}
}catch ValueError as e{
MsgBox("(
MsgBox("
(
Warning: %e.Message%
%e.Extra%

Expand Down

0 comments on commit 76532b1

Please sign in to comment.