Re: [Nemiver-list] preparing nemiver upcoming release



On Sun, 2008-02-24 at 13:08 +0100, Marko Anastasov wrote:
> One minor usability detail I noticed was that the "where" arrow
> mark in the sourceview would always appear beneath the breakpoint
> mark. So I looked in the nmv-source-editor.cc and found the
> set_mark_category_priority() calls. Is it that the higher number means
> higher priority? 

Yes, marks with a higher number for priority should be displayed above
marks with a lower number.  There was a bug in gtksourceview at one
point that made it behave opposite, but that has been fixed for a while.

> Anyway, I tried playing with them but then realized
> that the execution would follow the none-WITH_SOURCEVIEWMM2
> branch. I don't really know why, I do have it in jhbuild and as ubuntu
> package, although I do have v1 deb installed as well as a dependency
> I guess. I'm rebuilding gtksourceviewmm in jhbuild now, I hope I'll
> resolve this strangeness.

Yes, unfortunately gtksourceview-1.0 didn't have a good way to specify
which marks to display on top, so that's only available with -2.0.
Also, note that you will probably need to build with gtksourceviewmm-2.0
from svn since I don't believe a release has been made yet that has the
new source mark API.  But if a new enough version is found, it should
use it automatically, otherwise it will fall back to using
gtksourceviewmm-1.0

-- 
Jonner





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]