Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/epubadapter.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2011-02-18 17:27:29 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2011-02-18 17:33:12 (GMT)
commitaa5534a95735df60c9cf619b6d463d2ec21abd95 (patch)
treecfcb4008b9333a7336eb97772ff48343d9050ef6 /epubadapter.py
parent76cacfad48af182b1edefbdaf202b7edb4f43c81 (diff)
Add highlight support to thetext backend
- The highlights are saved in the same db we save the bookmarks. - The highlights can be removed selecting again the same tex, or a subportion of the text or puting the cursos inside the highlighted area.
Diffstat (limited to 'epubadapter.py')
-rw-r--r--epubadapter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/epubadapter.py b/epubadapter.py
index 964f915..b03966f 100644
--- a/epubadapter.py
+++ b/epubadapter.py
@@ -46,6 +46,9 @@ class EpubViewer(epubview.EpubView):
def can_zoom_to_width(self):
return False
+ def can_highlight(self):
+ return False
+
def connect_zoom_handler(self, handler):
self._zoom_handler = handler
self._view_notify_zoom_handler = \