Adds an icon that tracks an offset in the document, and is displayed adjacent to the line numbers. This is useful for marking things such as source code errors.
@param offs The offset to track.
@param icon The icon to display. This should be small (say 16x16).
@return A tag for this icon.
@throws BadLocationException If offs is an invalid offsetinto the text area.
@see #addLineTrackingIcon(int,Icon)
@see #removeTrackingIcon(GutterIconInfo)
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.