Minor fixes
This commit is contained in:
@@ -31,7 +31,7 @@ import org.exbin.bined.android.capability.BasicColorsCapable;
|
||||
import org.exbin.bined.android.capability.FontCapable;
|
||||
|
||||
/**
|
||||
* Code area component default interface.
|
||||
* Code area default component interface.
|
||||
*
|
||||
* @author ExBin Project (https://exbin.org)
|
||||
*/
|
||||
|
||||
@@ -79,7 +79,7 @@ public class DefaultCodeAreaCharAssessor implements CodeAreaCharAssessor {
|
||||
|
||||
@Override
|
||||
public char getPreviewCharacter(long rowDataPosition, int byteOnRow, int charOnRow, CodeAreaSection section) {
|
||||
if (byteOnRow > rowData.length - maxBytesPerChar) {
|
||||
if (byteOnRow > rowData.length - maxBytesPerChar || rowDataPosition >= dataSize) {
|
||||
return ' ';
|
||||
}
|
||||
|
||||
|
||||
@@ -844,7 +844,7 @@ public class DefaultCodeAreaCommandHandler implements CodeAreaCommandHandler {
|
||||
if (!caretPosition.equals(movePosition)) {
|
||||
((CaretCapable) codeArea).setActiveCaretPosition(movePosition);
|
||||
updateSelection(selectingMode, movePosition);
|
||||
} else if (selectingMode == SelectingMode.NONE){
|
||||
} else if (selectingMode == SelectingMode.NONE) {
|
||||
clearSelection();
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
id 'com.android.application' version '8.12.0' apply false
|
||||
id 'com.android.library' version '8.12.0' apply false
|
||||
id 'com.android.application' version '8.12.2' apply false
|
||||
id 'com.android.library' version '8.12.2' apply false
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
|
||||
Reference in New Issue
Block a user