Merge remote-tracking branch 'origin/GP-6178_ghidragon_byteviewer_cant_select_last_byte_in_program--SQUASHED'

This commit is contained in:
Ryan Kurtz
2026-01-22 20:27:01 -05:00
2 changed files with 19 additions and 14 deletions

View File

@@ -762,7 +762,7 @@ public class ByteViewerComponent extends FieldPanel
// if the selection ends on a separator line, go back to the end of the previous line
if (indexMap.isBlockSeparatorIndex(lineIndex)) {
lineIndex = lineIndex.subtract(BigInteger.ONE);
fieldNum = fieldFactories.length - 1; // set to end of line factory
fieldNum = fieldFactories.length; // set to end of line factory
}
// if the selection is before the characters in this field, the selection doesn't include