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

highlightOnChange #65

Open
xiongxiongjiang opened this issue May 21, 2019 · 2 comments
Open

highlightOnChange #65

xiongxiongjiang opened this issue May 21, 2019 · 2 comments

Comments

@xiongxiongjiang
Copy link

I have see an api "highlightOnChange" and its description is "Automatically updates highlight on text change.", but when I write "textStorage.highlightOnChange = true", it didn't work,why?

@raspu
Copy link
Owner

raspu commented Jun 3, 2019

Can you give an example of what are you trying to do, what do you expect and what is the result?

@xiongxiongjiang
Copy link
Author

for example:

print('a')
print('b')

if I insert code after line 2, like this:

print('a')
print('b')
#comment

the line 3 can be highlighted,
but if insert code between line 1 and line 2 like this:

print('a')
#comment
print('b')

the line 2 didn't be highlighted.

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

2 participants