helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33.27k stars 2.47k forks source link

Disappearing syntax highlighting due to scrolling #5731

Closed GuyKlaassen closed 1 year ago

GuyKlaassen commented 1 year ago

Summary

When my Python imports get scrolled out of view, they no longer get the correct syntax highlighting when they are being used. See the base64 and requests import on uses in the screenshots below. When the import line gets scrolled out of view, the syntax highlighting changes from red to white. I've tried it with multiple themes, it happens for all of them.

image image image

Reproduction Steps

Create a new Python file, put imports at the top and use them in the script. Scroll the import lines out of view and see the syntax highlighting disappear.

Helix log

N/A?

Platform

macOS

Terminal Emulator

wezterm 20221119-145034-49b9839f

Helix Version

helix 22.12 (96ff64a8)

pascalkuthe commented 1 year ago

duplicate of #1151