After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326698 - new_hl_engine: deleting text screws up highlighting
new_hl_engine: deleting text screws up highlighting
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Marco Barisione
GTK Sourceview maintainers
Depends on:
Blocks: 312651
 
 
Reported: 2006-01-12 08:57 UTC by Jeroen Zwartepoorte
Modified: 2006-01-25 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeroen Zwartepoorte 2006-01-12 08:57:05 UTC
Using test.c from the "folding+newhl" branch in combination with test-widget.

If you delete lines 6-23 in one big delete (first select all the lines, then press DEL), the code in main() will no longer be highlighted properly.

(i've already talked with Barisione about it on irc; filing here so it isn't forgotten).
Comment 1 Marco Barisione 2006-01-25 11:34:37 UTC
In update_syntax refresh_range was called on a wrong (too small) portion of the buffer.