Skip to content

Commit 1e66296

Browse files
authored
Merge 504088e into f6844c3
2 parents f6844c3 + 504088e commit 1e66296

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

source/appModules/code.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
"""App module for Visual Studio Code."""
77

88
import appModuleHandler
9-
import controlTypes
109
from NVDAObjects.behaviors import EditableTextBase
1110
from NVDAObjects.IAccessible.chromium import Document
12-
from NVDAObjects import NVDAObject, NVDAObjectTextInfo
11+
from NVDAObjects import NVDAObject
1312

1413

1514
class VSCodeDocument(Document):
@@ -29,8 +28,3 @@ def chooseNVDAObjectOverlayClasses(self, obj, clsList):
2928
def event_NVDAObject_init(self, obj: NVDAObject):
3029
if isinstance(obj, EditableTextBase):
3130
obj._supportsSentenceNavigation = False
32-
# TODO: This is a specific fix for Visual Studio Code.
33-
# Once the underlying issue is resolved, this workaround can be removed.
34-
# See issue #15159 for more details.
35-
if obj.role != controlTypes.Role.EDITABLETEXT and controlTypes.State.EDITABLE not in obj.states:
36-
obj.TextInfo = NVDAObjectTextInfo

0 commit comments

Comments
 (0)