Skip to content

Commit

Permalink
Mark undocumented objects
Browse files Browse the repository at this point in the history
  • Loading branch information
jwortmann authored and rchl committed Dec 4, 2023
1 parent 84672f7 commit a83e4e8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions stubs/sublime.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1749,13 +1749,13 @@ class View:
"""
...

# def begin_edit(self, edit_token: int, cmd: str, args: Dict[str, Any] | None = ...) -> Edit:
# def begin_edit(self, edit_token: int, cmd: str, args: Dict[str, Any] | None = ...) -> Edit: # undocumented
# ...

# def end_edit(self, edit: Edit) -> None:
# def end_edit(self, edit: Edit) -> None: # undocumented
# ...

# def is_in_edit(self) -> bool:
# def is_in_edit(self) -> bool: # undocumented
# ...

def insert(self, edit: Edit, pt: int, text: str) -> None:
Expand Down Expand Up @@ -1957,13 +1957,13 @@ class View:
"""
...

# def indented_region(self, pt: int) -> Region:
# def indented_region(self, pt: int) -> Region: # undocumented
# ...

# def indentation_level(self, pt: int) -> int:
# def indentation_level(self, pt: int) -> int: # undocumented
# ...

def has_non_empty_selection_region(self) -> bool:
def has_non_empty_selection_region(self) -> bool: # undocumented
...

def lines(self, r: Region) -> List[Region]:
Expand Down Expand Up @@ -2282,19 +2282,19 @@ class View:

# def add_phantom(
# self, key: str, region: Region, content: str, layout: int, on_navigate: Callable[[str], None] | None = ...
# ) -> int:
# ) -> int: # undocumented
# ...

# def erase_phantoms(self, key: str) -> None:
# def erase_phantoms(self, key: str) -> None: # undocumented
# ...

# def erase_phantom_by_id(self, pid: int) -> None:
# def erase_phantom_by_id(self, pid: int) -> None: # undocumented
# ...

# def query_phantom(self, pid: int) -> List[Region]:
# def query_phantom(self, pid: int) -> List[Region]: # undocumented
# ...

# def query_phantoms(self, pids: List[int]) -> List[Region]:
# def query_phantoms(self, pids: List[int]) -> List[Region]: # undocumented
# ...

def assign_syntax(self, syntax: str | Syntax) -> None:
Expand Down Expand Up @@ -2372,10 +2372,10 @@ class View:
"""
...

# def find_all_results(self) -> List[Tuple[str, int, int]]:
# def find_all_results(self) -> List[Tuple[str, int, int]]: # undocumented
# ...

# def find_all_results_with_text(self) -> List[Tuple[str, int, int]]:
# def find_all_results_with_text(self) -> List[Tuple[str, int, int]]: # undocumented
# ...

def command_history(self, delta: int, modifying_only: bool = ...) -> Tuple[Optional[str], Optional[dict], int]:
Expand Down
2 changes: 1 addition & 1 deletion stubs/sublime_plugin.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from sublime import Buffer, CompletionItem, CompletionList, Edit, Html, ListInpu
from typing import Any, Dict, List, Tuple


view_event_listeners: Dict[int, List[ViewEventListener]]
view_event_listeners: Dict[int, List[ViewEventListener]] # undocumented


class CommandInputHandler:
Expand Down

0 comments on commit a83e4e8

Please sign in to comment.