We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a941af7 commit c3cb4cdCopy full SHA for c3cb4cd
builtin-programs/editor.folk
@@ -320,8 +320,9 @@ When /view/ is an editor with /...anything/ &\
320
set lineCount [- [llength [split $code "\n"]] $vpY]
321
set lineNumbers [$utils lineNumberView $vpY $lineCount]
322
Wish to draw text onto $view with \
323
- position [vec2 sub $margin [list 0.005 0.0]] text $lineNumbers \
324
- scale $textScale anchor topright font NeomatrixCode
+ position [vec2 sub $margin [list [* $em 1.8] 0.0]] \
+ text $lineNumbers \
325
+ scale $textScale anchor topleft font NeomatrixCode
326
327
set text [$utils applyTextViewport $code $vpX $vpY $vpWidth $vpHeight]
328
set pos $margin
0 commit comments