mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Added public DoInlineEditing() (rev sdagley, appr don)
This commit is contained in:
parent
5913005a12
commit
06a67f5973
@ -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
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user