Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/evinceadapter.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 /evinceadapter.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 'evinceadapter.py')
-rw-r--r--evinceadapter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/evinceadapter.py b/evinceadapter.py
index ad79189..c37562c 100644
--- a/evinceadapter.py
+++ b/evinceadapter.py
@@ -109,6 +109,9 @@ class EvinceViewer():
self._model.props.sizing_mode)
self.metadata['Read_sizing_mode'] = "fit-width"
+ def can_highlight(self):
+ return False
+
def get_zoom(self):
'''
Returns the current zoom level