Given an expression like:
if ((a && b==c) || (d && (e==f)))

On mouse-over break it apart so we can read it easier:
+----------------------------------+
| if (            ||              )|
|     (a && b==c)    (d &&       ) |
|                          (e==f)  |
+----------------------------------+                                            
 
Here, I'm showing a popup, but I could also envision if the line itself 
expanded into 3, asif it were wrapped:

// comment A
if ((a && b==c) || (d && (e==f)))
// comment B


becomes:

// comment A
if (            ||              )
    (a && b==c)    (d &&       )
                         (e==f)  
//comment B

This does create an issue on how to edit it, but I think you could have some 
kind f deferred or active parsing. 

I'm interested in this and other novel visualization ideas where we diverge 
further from the code the compiler wants and the representation the developer 
wants to see. 
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to