diff --git a/projects/kiss-vscode/src/ktxt2/KTxt2.kiss b/projects/kiss-vscode/src/ktxt2/KTxt2.kiss index 8db77062..e6774da2 100644 --- a/projects/kiss-vscode/src/ktxt2/KTxt2.kiss +++ b/projects/kiss-vscode/src/ktxt2/KTxt2.kiss @@ -81,6 +81,7 @@ ((Block (objectWith source output)) (+= sourceText source) (dictSet interp.variables "source" source) + (dictSet interp.variables "sourceLine" ->line (nth (source.split "\n") line)) (dictSet interp.variables "R" re_flex.R) (+= outputText // Don't run the expensive "evalKiss" if there is no interpolation in the block!