source_contents

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer.naml
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<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>