Skip to content

Possible to not close/reopen the document to adjust the changes? #23

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Chris2011 opened this issue Sep 26, 2018 · 4 comments
Closed

Possible to not close/reopen the document to adjust the changes? #23

Chris2011 opened this issue Sep 26, 2018 · 4 comments
Assignees
Milestone

Comments

@Chris2011
Copy link

What the plugin does, after changing the encoding, it will close and open the file again, this is not a nice thing. I would prefer, that it should reload/refresh the area. This will first not having a big visual effect and second the cursor can stay as it is.

I know, that you can get the cursor position and set the cursor position afterwards but it will jumps again. Maybe two times. First reopen the file, second jump to the position.

I don't know whether this is possible in NetBeans or not, but I compared it with IntelliJ and VS Code and there is no real visual effect, no hazzle.

Cheers

Chris

@junichi11
Copy link
Owner

@Chris2011
Copy link
Author

Great, it works like a charme. Thx :). You didn't push the code, right?

@junichi11
Copy link
Owner

Thanks for your verification. I'll push it later. I waited for verification by someone because I've implemented this using an ugly way(Maybe, there is no way to implement this using official public API, I suppose).

@junichi11 junichi11 self-assigned this Jan 23, 2021
@junichi11 junichi11 added this to the 1.8.0 milestone Mar 12, 2021
@junichi11
Copy link
Owner

junichi11 commented Mar 12, 2021

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants