Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Bookmarks - #655

Merged
benogle merged 0 commit into
masterfrom
bo-bookmarks
Jul 24, 2013
Merged

benogle merged 0 commit into
masterfrom
bo-bookmarks

Conversation

@benogle

@benogle benogle commented Jul 22, 2013

Copy link
Copy Markdown
Contributor

Uses markers, so this will have to change when collaboration stuff is out.

Key combos

  'meta-f2': 'bookmarks:toggle-bookmark'
  'f2': 'bookmarks:jump-to-next-bookmark'
  'shift-f2': 'bookmarks:jump-to-previous-bookmark'

Please give advice. Am I using the right functions from EditSession? Am I hooking things in the right way? Should I optimize something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Markers with strategy never just move when the line is deleted. I'm not sure how I want it to work when the marked line is deleted. Thoughts?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could try the invalidation strategy of 'surround' once we merge the collaboration stuff in. That will only invalidate the marker if it is fully surrounded by a change. That strategy doesn't exist on master right now, though. Maybe make a note to go back once we merge in.

@benogle benogle mentioned this pull request Jul 22, 2013
12 of 14 tasks
@nathansobo

Copy link
Copy Markdown
Contributor

Ideally, we need to get our APIs to a point where we can write specs on almost all of this without instantiating views directly. It would be great to be able to associate a gutter rendering strategy with a marker and then just test that, plus any click related behavior etc. Then the rest of it could just be in terms of model objects. We aren't there yet though.

@probablycorey

Copy link
Copy Markdown

This looks good. I'm for merging it!

@benogle
benogle merged commit 173c47f into master Jul 24, 2013
@kevinsawicki

Copy link
Copy Markdown
Contributor

What happened to this pull request? I'm seeing no diff and no files changed.

screen shot 2013-07-25 at 8 06 07 am

@probablycorey

Copy link
Copy Markdown

The changes are on master

Could the file changes be gone because the branch was removed?

@kevinsawicki

Copy link
Copy Markdown
Contributor

I thought the diffs should still be here though, weird.

@probablycorey

Copy link
Copy Markdown

Something weird happened. There is a 100% chance it was my fault.

On Thu, Jul 25, 2013 at 9:58 AM, Kevin Sawicki [email protected]:

I thought the diffs should still be here though, weird.

—
Reply to this email directly or view it on GitHubhttps://github.com//pull/655#issuecomment-21568492
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants