To get methods from a module, or class, use (specific to case ‘view’):
import inspect
inspect.getmembers(view)And here is the ufficial documentation for sublime.view Class
List of all (154) methods of self.view:
- _bool_
- _class_
- _delattr_
- _dict_
- _dir_
- _doc_
- _eq_
- _format_
- _ge_
- _getattribute_
- _gt_
- _hash_
- _init_
- _le_
- _len_
- _lt_
- _module_
- _ne_
- _new_
- _reduce_
- _reduce_ex_
- _repr_
- _setattr_
- _sizeof_
- _str_
- _subclasshook_
- _weakref_
- add_phantom
- add_regions
- assign_syntax
- begin_edit
- buffer
- buffer_id
- change_count
- change_id
- classify
- clear_undo_stack
- clones
- close
- command_history
- context_backtrace
- element
- em_width
- encoding
- end_edit
- erase
- erase_phantom_by_id
- erase_phantoms
- erase_regions
- erase_status
- expand_by_class
- export_to_html
- extract_completions
- extract_scope
- extract_tokens_with_scopes
- file_name
- find ~ Ex.
- find_all ~ Ex.
- find_all_results
- find_all_results_with_text
- find_by_class
- find_by_selector
- fold
- folded_regions
- full_line
- get_regions
- get_status
- get_symbols
- has_non_empty_selection_region
- hide_popup
- id
- indentation_level
- indented_region
- indexed_references
- indexed_symbol_regions
- indexed_symbols
- insert
- is_auto_complete_visible
- is_dirty
- is_folded
- is_in_edit
- is_loading
- is_popup_visible
- is_primary
- is_read_only
- is_scratch
- is_valid
- layout_extent
- layout_to_text
- layout_to_window
- line
- line_endings
- line_height
- lines
- match_selector
- meta_info
- name
- overwrite_status
- preserve_auto_complete_on_focus_lost
- query_phantom
- query_phantoms
- replace
- reset_reference_document
- retarget
- rowcol
- rowcol_utf16
- rowcol_utf8
- run_command
- scope_name
- score_selector
- sel
- selection
- set_encoding
- set_line_endings
- set_name
- set_overwrite_status
- set_read_only
- set_reference_document
- set_scratch
- set_status
- set_syntax_file
- set_viewport_position
- settings
- settings_object
- sheet
- sheet_id
- show
- show_at_center
- show_popup
- show_popup_menu
- size
- split_by_newlines
- style
- style_for_scope
- substr
- symbol_regions
- symbols
- syntax
- text_point
- text_point_utf16
- text_point_utf8
- text_to_layout
- text_to_window
- transform_region_from
- unfold
- update_popup
- view_id
- viewport_extent
- viewport_position
- visible_region
- window
- window_to_layout
- window_to_text
- word