Skip to content
This repository was archived by the owner on Jun 14, 2018. It is now read-only.

Syntax highlighted code blinking for files exceeding viewport #3

Closed
celrenheit opened this issue Mar 18, 2016 · 3 comments
Closed

Syntax highlighted code blinking for files exceeding viewport #3

celrenheit opened this issue Mar 18, 2016 · 3 comments

Comments

@celrenheit
Copy link

Hi,

When a file exceeds the viewport and I save a file the code blinks (redrawn maybe?):
out

When I disable gofmt package the issue is gone.
There is no issue when the code does not exceed the viewport meaning there is not enough code to be able to scroll down.
Everything worked great before the upgrade to 4.x.

I'm using:

  • go 1.6
  • gofmt 1.0.3
  • go-plus 4.0.1
  • atom 1.6.0
  • environment 1.1.1
  • OS: osx el capitan

Thanks.

@joefitzgerald
Copy link
Owner

Acknowledged. In an attempt to allow gofmt / goimports / goreturns to be run against unsaved buffers (again, without saving the result), I think I've exposed an issue in atom's grammar parsing as well as causing an issue with undo behavior (i.e. multiple ctrl-z / cmd-z's are required to go backwards).

@joefitzgerald
Copy link
Owner

Please update to v1.0.4 and let me know if you are still experiencing the issue.

@celrenheit
Copy link
Author

This solved the issue. Thanks.

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

No branches or pull requests

2 participants