diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-03-19 10:57:09 +0000 |
---|---|---|
committer | Paul Gardiner <paulg.artifex@glidos.net> | 2013-03-24 16:53:15 +0000 |
commit | f031719c18e610269e85aa1d1b83a619ddc7fec7 (patch) | |
tree | 475813de8fc5c9b9da287cc984820066459847ad /android/src/com/artifex/mupdfdemo/MuPDFView.java | |
parent | 03a7b530fc05426f4b9537784b6dab5e45a337f6 (diff) | |
download | mupdf-f031719c18e610269e85aa1d1b83a619ddc7fec7.tar.xz |
Android: warn when no text selected and avoid creating empty annotations
Diffstat (limited to 'android/src/com/artifex/mupdfdemo/MuPDFView.java')
-rw-r--r-- | android/src/com/artifex/mupdfdemo/MuPDFView.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |