Bug 217768 - [patch] Memory Rendering - Requested change to IRepositionableMemoryRendering implementation
Summary: [patch] Memory Rendering - Requested change to IRepositionableMemoryRendering...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-memory (show other bugs)
Version: 0 DD 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-04 17:36 EST by Warren Paul CLA
Modified: 2020-09-04 15:18 EDT (History)
1 user (show)

See Also:


Attachments
proposed patch (2.04 KB, patch)
2008-02-04 17:39 EST, Warren Paul CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Warren Paul CLA 2008-02-04 17:36:19 EST
Build ID: M20071023-1652

Steps To Reproduce:
The current implementation returns the address of the cell where the caret is positioned, and the size of the cell.  That's what the other renderings do, but they only support selecting a single table cell.

In order to do useful things with the selection (such as setting watchpoints on a range of memory), we need to know the start address and the length of the selection.

The attached patch will return these if there is a selection.  Otherwise it will behave as it currently does and return the address of the caret position.



More information:
Comment 1 Warren Paul CLA 2008-02-04 17:39:51 EST
Created attachment 88840 [details]
proposed patch

This patch also disables the copy to clipboard action when there is no selection.
Comment 2 Martin Oberhuber CLA 2010-09-22 09:36:46 EDT
Cleanup bugs filed against DSDP