Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoints API is limiting #45

Closed
shysaur opened this issue Mar 1, 2015 · 2 comments
Closed

Breakpoints API is limiting #45

shysaur opened this issue Mar 1, 2015 · 2 comments
Assignees

Comments

@shysaur
Copy link
Owner

shysaur commented Mar 1, 2015

With the current API, one can't modify breakpoints programmatically (every breakpoint edit must go through the user). A better alternative would be a syntaxError-style API. This would also offload breakpoint handling from the gutter view to a separate class.

@shysaur shysaur self-assigned this Mar 1, 2015
@shysaur
Copy link
Owner Author

shysaur commented Mar 7, 2015

No need to change the current API if we expose MGSLineNumberView: then, the app changing the breakpoints would just have to call [lineNumberView setNeedsToUpdateDisplay:YES] (or, better, a new -reloadData method) after the changes.

@shysaur
Copy link
Owner Author

shysaur commented Mar 7, 2015

Fixed by 39be0dd because it exposes the line number view.

@shysaur shysaur closed this as completed Mar 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant