[Mapguide-trac] [mapguide-trac] #2311: XML Editor can try to divide by zero

MapGuide Open Source trac_mapguide at osgeo.org
Wed Jul 3 00:26:53 PDT 2013


#2311: XML Editor can try to divide by zero
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng        
       Type:  defect   |      Status:  new        
   Priority:  low      |   Milestone:  Maestro-5.0
  Component:  Maestro  |     Version:             
   Severity:  trivial  |    Keywords:             
External_id:           |  
-----------------------+----------------------------------------------------

Comment(by jng):

 Attempting to then mouse over the "X" area then throws this exception
 {{{

 System.DivideByZeroException: Attempted to divide by zero.
    at ICSharpCode.TextEditor.TextView.GetLogicalColumnInternal(Graphics g,
 LineSegment line, Int32 start, Int32 end, Int32& drawingPos, Int32
 targetVisualPosX)
    at ICSharpCode.TextEditor.TextView.GetLogicalColumn(Int32 lineNumber,
 Int32 visualPosX, FoldMarker& inFoldMarker)
    at ICSharpCode.TextEditor.TextArea.OnMouseMove(MouseEventArgs e)
    at System.Windows.Forms.Control.WmMouseMove(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&
 m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
 IntPtr wparam, IntPtr lparam)

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2311#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list