From 644f0dd2e10489c410e65c118812ca7305186735 Mon Sep 17 00:00:00 2001 From: pinkerton Date: Wed, 8 Apr 1998 20:30:13 +0000 Subject: [PATCH] Added public DoInlineEditing() (rev sdagley, appr don) git-svn-id: svn://10.0.0.236/trunk@108 18797224-902f-48f8-a5cc-f745e15eee43 --- .../UserInterface/Tables/CStandardFlexTable.cp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.cp b/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.cp index b932710354d..89fc3b462f2 100755 --- a/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.cp +++ b/mozilla/lib/mac/UserInterface/Tables/CStandardFlexTable.cp @@ -798,6 +798,23 @@ void CStandardFlexTable::ClickSelf(const SMouseDownEvent &inMouseDown) } // CStandardFlexTable::ClickSelf +// +// DoInlineEditing +// +// Perform the necessary setup for inline editing of a row's main text and then show the edit field. +// This version of the routine is public and does not require any external knowledge of table internals +// besides the cell that we should edit. Most of the work is done by calling the routine below +// +void +CStandardFlexTable::DoInlineEditing ( const STableCell &inCell ) +{ + Rect textRect; + GetHiliteTextRect ( inCell.row, textRect ); + DoInlineEditing ( inCell, textRect ); + +} // DoInlineEditing + + // // DoInlineEditing //