Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Marker constructor does not use range param. #85

Open
bolinfest opened this issue Jul 22, 2015 · 1 comment
Open

Marker constructor does not use range param. #85

bolinfest opened this issue Jul 22, 2015 · 1 comment

Comments

@bolinfest
Copy link
Contributor

I'm looking at https://github.com/atom/text-buffer/blob/ce71a43eea052d969bceca6a634bdb786591dec8/src/marker.coffee, and I find it very odd that the Marker constructor does not use the range that is passed to it. I'm currently trying to debug something with decorations where it seems my range information is lost when I create the marker via TextEditor::markBufferRange().

@bolinfest
Copy link
Contributor Author

OK, this was not the source of my problem (my problem was missing the .region CSS class when creating a highlight decoration), but I think this issue still stands, even if it is minor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant