[Nvda-dev] commit r2695 - in trunk: . source
NVDA Subversion
svn at nvda-project.org
Mon Feb 2 00:09:47 UTC 2009
Author: bzr
Date: Mon Feb 2 00:09:46 2009
New Revision: 2695
Log:
braille: Use liblouis's pass1Only mode, as multipass opcodes can break input/output position mapping.
Modified:
trunk/ (props changed)
trunk/source/braille.py
Modified: trunk/source/braille.py
==============================================================================
--- trunk/source/braille.py (original)
+++ trunk/source/braille.py Mon Feb 2 00:09:46 2009
@@ -143,7 +143,7 @@
L{brailleCursorPos} is similarly updated based on L{cursorPos}.
@postcondition: L{brailleCells} and L{brailleCursorPos} are updated and ready for rendering.
"""
- mode = louis.dotsIO
+ mode = louis.dotsIO | louis.pass1Only
if config.conf["braille"]["expandAtCursor"] and self.cursorPos is not None:
mode |= louis.compbrlAtCursor
text=unicode(self.rawText).replace('\0','')
More information about the Nvda-dev
mailing list