1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 20:15:22 +02:00

Fix for PR 45957: Memory view: last column does not show updates.

This commit is contained in:
Mikhail Khodjaiants 2003-11-03 19:17:21 +00:00
parent 29f63b1333
commit ea700ffbc1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-11-03 Mikhail Khodjaiants
Fix for PR 45957: Memory view: last column does not show updates.
* MemoryPresentation.java
2003-09-30 Mikhail Khodjaiants 2003-09-30 Mikhail Khodjaiants
Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly. Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly.
Added an internal constant to limit the hover text size. Added an internal constant to limit the hover text size.

View file

@ -305,7 +305,7 @@ public class MemoryPresentation
if ( address.longValue() >= rows[i].getAddress() && if ( address.longValue() >= rows[i].getAddress() &&
address.longValue() < rows[i].getAddress() + (wordSize * numberOfColumns) ) address.longValue() < rows[i].getAddress() + (wordSize * numberOfColumns) )
{ {
for ( int j = 1; j < numberOfColumns; ++j ) for ( int j = 1; j <= numberOfColumns; ++j )
{ {
if ( address.longValue() >= rows[i].getAddress() + ((j - 1) * wordSize) && if ( address.longValue() >= rows[i].getAddress() + ((j - 1) * wordSize) &&
address.longValue() < rows[i].getAddress() + (j * wordSize) ) address.longValue() < rows[i].getAddress() + (j * wordSize) )