Next: , Previous: DocumentWindow object, Up: Scripting


5.4 DocumentView object

DocumentView.document()
returns document to which this view belongs.
DocumentView.window()
returns window which contains this view.
DocumentView.line_wrap_mode()
returns whether line wrapping is enabled.
DocumentView.set_line_wrap_mode(enabled)
enables or disables line wrapping.
DocumentView.overwrite_mode()
returns whether overwrite mode is on.
DocumentView.set_overwrite_mode(enabled)
enables or disables overwrite mode.
DocumentView.show_line_numbers()
returns whether line numbers are displayed.
DocumentView.set_show_line_numbers(show)
shows or hides line numbers.