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

Predicate regex slightly off? #7

Open
TRnonodename opened this issue Jun 12, 2018 · 0 comments
Open

Predicate regex slightly off? #7

TRnonodename opened this issue Jun 12, 2018 · 0 comments

Comments

@TRnonodename
Copy link

Hello,

I'm the developer of a turtle autocomplete-plus package that relies on your grammar. Working through an edge case bug, I think I've found an issue:

If I create a sample ttl file just with the following

foaf:Person

and position the cursor after the 'n', I get three scopes from the scopeDescriptor* including entity.name.tag.prefixed-uri.turtle

If I change the line to

foaf:Person ""

and place the cursor back after the n I now get only one scope source.turtle

Is this by design? No rush, as I've coded around it (by ignoring the scope in this use case) but the behavior seems wrong to me?

  • invoked by atom.workspace.getActiveTextEditor().getCursorAtScreenPosition(atom.workspace.getActiveTextEditor().getCursorScreenPosition()).getScopeDescriptor() on the console
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