space characters "mysteriously" highlighted
System information
Fedora 36
version 42.1 Flatpak
Text Editor (42.1)
Flatpak: yes
GLib: 2.72.2 (2.72.1)
GTK: 4.6.5 (4.6.3)
GtkSourceView: 5.4.1 (5.4.1)
Libadwaita: 1.1.2 (1.1.1)
Enchant2: 2.2.15
gtk-theme-name: Adwaita-empty
GTK_THEME: unset
org.gnome.TextEditor restore-session = true
org.gnome.TextEditor recolor-window = true
org.gnome.TextEditor show-map = false
org.gnome.TextEditor custom-font = 'Monospace 11'
org.gnome.TextEditor show-line-numbers = true [default=false]
org.gnome.TextEditor style-scheme = 'classic-dark' [default='Adwaita']
org.gnome.TextEditor wrap-text = true
org.gnome.TextEditor style-variant = 'dark' [default='follow']
org.gnome.TextEditor indent-style = 'space' [default='tab']
org.gnome.TextEditor show-right-margin = false
org.gnome.TextEditor spellcheck = true
org.gnome.TextEditor auto-indent = false [default=true]
org.gnome.TextEditor use-system-font = true
org.gnome.TextEditor keybindings = 'default'
org.gnome.TextEditor highlight-current-line = false
org.gnome.TextEditor last-save-directory = ''
org.gnome.TextEditor auto-save-delay = uint32 3
org.gnome.TextEditor discover-settings = true
org.gnome.TextEditor enable-snippets = false
org.gnome.TextEditor line-height = 1.2
org.gnome.TextEditor indent-width = -1
org.gnome.TextEditor show-grid = false
org.gnome.TextEditor draw-spaces = @as []
org.gnome.TextEditor right-margin-position = uint32 80
org.gnome.TextEditor tab-width = uint32 2 [default=uint32 8]
Also reproduced in nightly flatpak (have saved details from about -> system if required)
Bug information
Steps to reproduce
- Create a new markdown document
- Alternate between pasting in content, typing, and navigating the document with arrow keys
- Eventually spaces should start being highlighted in a color appropriate to the syntax highlighting theme (see screenshot)
- Toggling insert mode while over the highlighted region may or may not clear the highlighting
Current behaviour
Spaces start being "randomly" highlighted
Expected behaviour
Spaces are not highlighted
Edited by Andrew Horvath