[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Inline widgets in the editor view
From:       Dominik Haumann <dhaumann () kde ! org>
Date:       2014-06-10 16:55:13
Message-ID: 3424961.CMOIa6Nttx () eriador
[Download RAW message or body]

On Tuesday 10 June 2014 18:01:26 Aleix Pol wrote:
> On Mon, Jun 9, 2014 at 10:48 AM, Kevin Funk <kfunk@kde.org> wrote:
> > Hey guys,
> > 
> > Working a bit with Coverity (static analysis tool, [1]) lately, I've come
> > across this nice way [2] of reporting errors. Xcode has a similar way of
> > reporting errors [3].
> > 
> > I think, having some basic infrastructure for displaying this kind of
> > inline
> > widgets would be beneficial not just for KDevelop land.
> > 
> > How hard would it be implement something like that for Kate?
> > 
> > Obvious advantages of these inline widgets compared to other solutions:
> > * Information text is close to the range it's attached to
> > * The widget doesn't hide other editor contents
> > 
> > (as opposed to some tooltip solution)
> > 
> > * No user interaction required to retrieve the information text
> > 
> > (it's always there)
> > 
> > Greets
> > 
> > [1] http://www.coverity.com/
> > [2] http://security.coverity.com/static/media/img/goto-fail.png
> > [3]
> > http://richarddingwall.name/wp-content/uploads2/2008/06/xcode-build-error.
> > png
> > 
> > --
> > Kevin Funk
> 
> What about only coloring the line and add the first line aligning it to the
> left? This way it wouldn't break the static line size height and the whole
> view won't bounce when you get new messages. We could have it expand on
> mouse hover.

That sounds similar to smart tags, right?

Example:
http://blogs.msdn.com/blogfiles/saraford/WindowsLiveWriter/DidyouknowCtrl.showsasmarttag359_112BE/image_thumb_2.png


Greetings,
Dominik
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic