mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:30:47 +00:00
Improvement of attributed string loading and attachment display in text
view. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27705 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0039705817
commit
a8bda5f526
6 changed files with 324 additions and 243 deletions
|
@ -4810,8 +4810,13 @@ other than copy/paste or dragging. */
|
|||
|
||||
if (cell != nil)
|
||||
{
|
||||
/* TODO: Where to get the cellFrame? */
|
||||
NSRect cellFrame = NSMakeRect(0, 0, 0, 0);
|
||||
NSRect cellFrame;
|
||||
|
||||
cellFrame.origin = [_layoutManager
|
||||
locationForGlyphAtIndex: startIndex];
|
||||
cellFrame.size = [_layoutManager
|
||||
attachmentSizeForGlyphAtIndex: startIndex];
|
||||
cellFrame.origin.y -= cellFrame.size.height;
|
||||
|
||||
/* TODO: What about the insertion point ? */
|
||||
if ([cell wantsToTrackMouseForEvent: theEvent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue