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 486724 - Correct line-marking in sourcview editor
Correct line-marking in sourcview editor
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: editor: gtksourceview
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Johannes Schmid
Anjuta maintainers
Depends on: 487098
Blocks:
 
 
Reported: 2007-10-14 23:47 UTC by tpgww
Modified: 2008-01-05 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
compressed patch (3.11 KB, application/bzip2)
2007-10-14 23:50 UTC, tpgww
Details

Description tpgww 2007-10-14 23:47:49 UTC
Having sized and shaped line markers so they are all (at least a little bit) visible when stacked, at the same line in the the order applied by scintilla, we need the same order to apply in sourceview. ATM that seems to display markers in last-apply-first-show order.

To fix this, the accompanying patch deletes and re-sets any existing and new mark(s) at a line, in the desired order.

It also applies mark-handle more generally.
Comment 1 tpgww 2007-10-14 23:50:13 UTC
Created attachment 97229 [details]
compressed patch

This patch has been produced with "ignore-whitespace" option. Indenting will sometimes be bad.
Comment 2 Johannes Schmid 2007-10-17 13:05:55 UTC
Thanks for the patch! I first want to see what they comment on #487098 before I apply it because there will probably be a feature like this in gtksourceview.
Comment 3 Johannes Schmid 2007-11-21 15:50:48 UTC
OK, this is now implemented in GtkSourceView 2.0 (see bug #487098) and already supported in the gtksourceview2 branch of anjuta
Comment 4 Johannes Schmid 2008-01-05 13:23:25 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.