On Fri, Jun 3, 2011 at 4:41 PM, Xavier de Gaye <[email protected]> wrote:
> On Fri, Jun 3, 2011 at 12:18 AM, Ulf Magnusson wrote:
>>
>> Is there a way to make pyclewn automatically dereference pointer
>> values when hovering them? Just getting the address itself often isn't
>> very useful.
>>
>
>
> Hello Ulf,
>
> Evaluation in the vim balloon is done on expressions when they are
> selected. So it is possible to dereference a pointer in some cases,
> for example by selecting "* ptr" in the source code and hovering the
> mouse over the selected area. Of course this assumes "* ptr" is
> displayed in the current vim window.
>
> The gdb 'whatis' command prints the type of a variable. This should
> provide a way to automatically dereference variables on balloon
> evaluation. I am going to give it a try.

Thanks! I guess it could be made configurable as well (having options
for the style of presentation for structs and arrays would be neat
too).

/Ulf

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to