Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
show the build error message when mouse hover a marker
ollydbg:
I found a feature request here:
https://developer.berlios.de/feature/?func=detailfeature&feature_id=5236&group_id=5358
So, I just want to know any possibility to implement this
step is:
1, receive a Dwell event in the compiler
2, get the current line info (I'm not sure if my mouse is hover on the margin line, I can receive this message?)
3, look up the marker datebase to see if the current line has a build error/warning marker
4, show the build error/warning info on a calltip tooltip window
5, when mouse moved, cancel the calltip tooltip window
Is that possible?
Any ideas?
thanks.
MortenMacFly:
--- Quote from: ollydbg on April 02, 2011, 05:45:20 am ---I found a feature request here:
https://developer.berlios.de/feature/?func=detailfeature&feature_id=5236&group_id=5358
--- End quote ---
I'm afraid I still don't exactly understand how this should look like... can you provide a screenshot?
Does SciTE (or other scintilla clients) do such things?
ollydbg:
look at the image
When mouse hover on the marker, it will show the error message on the value tip.
I asked on the scintilla forum, but currently does not get a full answer.
see:
Can I receive a hover kind message if the mouse hover a marker?
ollydbg:
In the scintilla forum, they give many ways to show the build error message by using annocator, indicator or other things. And Neil also give a method to locate which margin the mouse is hovered on. :D
Jenna:
If the mouse is over a margin, a DwellStart-event is generated, so it's easy to find which margin we are on.
Annotations do not enhance the readability of the source-code in my opinion. A call-tip would be the best solution.
I think this is a useful feature, so I have put it on my todo-list.
Navigation
[0] Message Index
[#] Next page
Go to full version