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

Replace non-functional stopAtOffset tokenize parameter with timeLimit #402

Merged
merged 1 commit into from
May 23, 2022

Conversation

sebthom
Copy link
Member

@sebthom sebthom commented May 20, 2022

The stopAtOffset parameter of ITokenizationSupport#tokenize was not implemented and the tm4e.ui plugin was not using it. So I replaced it with the timeLimit parameter which I already added to IGrammar#tokenizeLine according to the vscode-textmate project.

When this PR is merged I am going to work on the TMModel implementation. Having timeLimit support in ITokenizationSupport will allow to greatly simplify the TMModel class.

Copy link
Contributor

@mickaelistria mickaelistria left a comment

Choose a reason for hiding this comment

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

Let's merge.

@mickaelistria mickaelistria merged commit a290994 into eclipse-tm4e:master May 23, 2022
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

Successfully merging this pull request may close these issues.

2 participants