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

Unify how extra selection are added to the editor #5176

Closed
rlaverde opened this issue Sep 8, 2017 · 1 comment
Closed

Unify how extra selection are added to the editor #5176

rlaverde opened this issue Sep 8, 2017 · 1 comment
Assignees
Milestone

Comments

@rlaverde
Copy link
Member

rlaverde commented Sep 8, 2017

The idea is to move how extra selections for cell, lines, search and others that use these functions:
https://github.com/spyder-ide/spyder/blob/master/spyder/widgets/sourcecode/base.py#L319

Move them to use TextDecoration API:
https://github.com/spyder-ide/spyder/blob/master/spyder/widgets/sourcecode/api/decoration.py

This is needed for #4289

@rlaverde
Copy link
Member Author

This is also causing a little error: Selecting a codefolding arrow will add codefolding extraselection, but editor extraselections will be removed (current line, current cell, highlight words)

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

No branches or pull requests

1 participant