From: Scott H. <sco...@us...> - 2005-07-20 07:59:51
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19663/src/org/actionstep Modified Files: NSMatrix.as Log Message: Tons of key and mouse event stuff (but not all working) Fixed a number of bugs with inserts and selection Index: NSMatrix.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSMatrix.as,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** NSMatrix.as 27 Jun 2005 04:08:27 -0000 1.22 --- NSMatrix.as 20 Jul 2005 07:59:40 -0000 1.23 *************** *** 38,41 **** --- 38,42 ---- import org.actionstep.NSArray; import org.actionstep.NSEnumerator; + import org.actionstep.NSException; import org.actionstep.NSActionCell; import org.actionstep.NSCell; *************** *** 44,47 **** --- 45,49 ---- import org.actionstep.NSSize; [...1906 lines suppressed...] + + var cell:NSCell = cellAtRowColumn(row, column); + + if (cell.acceptsFirstResponder()) + { + if (m_dottedrow != -1 && m_dottedcol != -1) + { + //! setNeedsDisplayInRect(cellFrameAtRowColumn(m_dottedrow, m_dottedcol)); + } + + m_dottedrow = row; + m_dottedcol = column; + + //! setNeedsDisplayInRect(cellFrameAtRowColumn(m_dottedrow, m_dottedcol)); + setNeedsDisplay(true); + } + } + //****************************************************** //* Public Static Properties * |