From f031719c18e610269e85aa1d1b83a619ddc7fec7 Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Tue, 19 Mar 2013 10:57:09 +0000 Subject: Android: warn when no text selected and avoid creating empty annotations --- android/src/com/artifex/mupdfdemo/MuPDFView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'android/src/com/artifex/mupdfdemo/MuPDFView.java') diff --git a/android/src/com/artifex/mupdfdemo/MuPDFView.java b/android/src/com/artifex/mupdfdemo/MuPDFView.java index fe93b532..5f7f19e0 100644 --- a/android/src/com/artifex/mupdfdemo/MuPDFView.java +++ b/android/src/com/artifex/mupdfdemo/MuPDFView.java @@ -15,7 +15,7 @@ public interface MuPDFView { public void selectText(float x0, float y0, float x1, float y1); public void deselectText(); public boolean copySelection(); - public void markupSelection(Annotation.Type type); + public boolean markupSelection(Annotation.Type type); public void deleteSelectedAnnotation(); public void setSearchBoxes(RectF searchBoxes[]); public void setLinkHighlighting(boolean f); -- cgit v1.2.3