diff --git a/gui/notepad/notepad.tal b/gui/notepad/notepad.tal index 0aa416e..27c20b4 100644 --- a/gui/notepad/notepad.tal +++ b/gui/notepad/notepad.tal @@ -11,7 +11,7 @@ > Clamp selection > Mouse2 select word > Page memory mapping - > Fix issue with multi-line selection ) + > Theme support ) |0000 @@ -416,13 +416,12 @@ JMP2r @draw-note ( -- ) + #15 .Screen/auto DEO #0008 .Screen/x DEO2 #0018 .Screen/y DEO2 + ;mem #00 .page LDZ #2000 MUL2 ADD2 - - #15 .Screen/auto DEO &while - ( wrap ) LDAk #20 GTH ?&no-wrap DUP2 word-length .Screen/x DEI2 ADD2 #00d0 LTH2 ?&no-wrap @@ -452,8 +451,6 @@ JMP2r INC2 LDAk ?&while POP2 - - @draw-footer ( -- ) .Screen/height DEI2 #0020 GTH2 ?&visible