source_contents

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer.naml
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<macro name="source_contents">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_binary
Binary
Namespace: MacroSourceNamespace
>
        <then>
            <div id="error-box" class="error-message" style="padding:.5em;display:none"></div>
            <textarea id="txt_basic" style="display:none"><n.encode
Binary
Namespace: BasicNamespace
Parameters: text
.tweak_file_contents
Binary
Namespace: MacroSourceNamespace
/></textarea>
            <div id="current-source">
                <div id="overrides-arrow" style="display:none">
                    <n.overrides_arrow
Macro
Requires: macro_source
/>
                </div>
                <n.show_notice_if_not_compiled
Macro
/>
                <table class="code">
                    <n.source_row
Macro
Requires: macro_source
/>
                    <tr>
                        <n.line_numbers_column
Macro
/>
                        <n.line_contents_column
Macro
/>
                    </tr>
                </table>
            </div>
        </then>
    </n.if.not.is_binary>
</macro>