projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setViewerInput now is much faster and doesn't cause text to flicker
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
tables
/
memory
/
MemoryCellEditingSupport.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
index
46eefcd
..
deaabe2
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryCellEditingSupport.java
@@
-27,4
+27,10
@@
public class MemoryCellEditingSupport extends NumberCellEditingSupport
MemoryTableRow row = (MemoryTableRow) element;
return row.getMemory().getCellAsBigInteger(row.address);
}
MemoryTableRow row = (MemoryTableRow) element;
return row.getMemory().getCellAsBigInteger(row.address);
}
+
+ @Override
+ public int getBitLength(Object element)
+ {
+ return ((MemoryTableRow) element).getMemory().getDefinition().getCellWidth();
+ }
}
\ No newline at end of file
}
\ No newline at end of file