$\(sourceLine <n>\) in Ktxt2 export
This commit is contained in:
@@ -81,6 +81,7 @@
|
|||||||
((Block (objectWith source output))
|
((Block (objectWith source output))
|
||||||
(+= sourceText source)
|
(+= sourceText source)
|
||||||
(dictSet interp.variables "source" source)
|
(dictSet interp.variables "source" source)
|
||||||
|
(dictSet interp.variables "sourceLine" ->line (nth (source.split "\n") line))
|
||||||
(dictSet interp.variables "R" re_flex.R)
|
(dictSet interp.variables "R" re_flex.R)
|
||||||
(+= outputText
|
(+= outputText
|
||||||
// Don't run the expensive "evalKiss" if there is no interpolation in the block!
|
// Don't run the expensive "evalKiss" if there is no interpolation in the block!
|
||||||
|
Reference in New Issue
Block a user