Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

show the build error message when mouse hover a marker

<< < (2/2)

ollydbg:

--- Quote from: jens on April 03, 2011, 09:26:59 am ---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.

--- End quote ---
Nice to here. and thanks for the hint, some one (maybe, Geany developer) suggest:

--- Quote ---Well its likely to hide the code you are trying to fix for starters :-(

In Geany we do it the other way, always show errors in the build
output and clicking a message there goes to the line in the file,
rather than coming from the file to the message.

Cheers
Lex
--- End quote ---
So, the only issue/concern is: if the error message is quite big. e.g. gcc will plot a long message on c++ template error, then the tip window is quite big, it may cover the whole code we need to fix.

ollydbg:
also, what about indicators?

--- Quote ---Why not show an Annotation[1] when the marker icon is clicked instead of
hovered?  Seems simpler to implement anyway.  Or, find the part with the
error and set an Indicator[2] on it (maybe a red squiggly line), and
show an annotation when that part with the indicator is hovered or clicked.

Just some ideas.

[1] http://www.scintilla.org/ScintillaDoc.html#Annotations
[2] http://www.scintilla.org/ScintillaDoc.html#Indicators

Cheers,
Matthew Brush
--- End quote ---
it sounds like that: indicators can have both line and column information. currently, our build error marker only indicates line information (column info is not included)

Navigation

[0] Message Index

[*] Previous page

Go to full version