Skip to content

Commit

Permalink
Make cursor tracking and announcement of deleted characters working a…
Browse files Browse the repository at this point in the history
…gain in Microsoft Excel edit fields. Fix for nvaccess#9042
  • Loading branch information
lukaszgo1 committed Dec 13, 2018
1 parent 7577804 commit c360ddf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/NVDAObjects/window/__init__.py
Expand Up @@ -137,7 +137,10 @@ def findOverlayClasses(self,clsList):
if not any(issubclass(cls,EditableText) for cls in clsList):
gi=winUser.getGUIThreadInfo(self.windowThreadID)
if gi.hwndCaret==self.windowHandle and gi.flags&winUser.GUI_CARETBLINKING:
if self.windowTextLineCount:
if self.windowTextLineCount and (
# #9042 Edit fields in Excel have always ad least 1 line of text, however we have to access them via displaymodel.
windowClassName != "EDTBX"
):
from .edit import UnidentifiedEdit
clsList.append(UnidentifiedEdit)
else:
Expand Down

0 comments on commit c360ddf

Please sign in to comment.